Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
K1ngst0m committed Oct 14, 2023
1 parent c758956 commit c743fd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endfunction(buildExamples)

set(EXAMPLES
triangle_demo
base_texture
basic_texture
# scene_manager
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "base_texture.h"
#include "basic_texture.h"

base_texture::base_texture() : aph::BaseApp("base_texture")
basic_texture::base_texture() : aph::BaseApp("base_texture")
{
}

void base_texture::init()
void basic_texture::init()
{
// setup window
m_wsi = aph::WSI::Create(m_options.windowWidth, m_options.windowHeight);
Expand Down Expand Up @@ -118,7 +118,7 @@ void base_texture::init()
}
}

void base_texture::run()
void basic_texture::run()
{
while(m_wsi->update())
{
Expand Down Expand Up @@ -164,7 +164,7 @@ void base_texture::run()
}
}

void base_texture::finish()
void basic_texture::finish()
{
m_renderer->m_pDevice->waitIdle();
m_pDevice->destroy(m_pVB);
Expand All @@ -176,7 +176,7 @@ void base_texture::finish()

int main(int argc, char** argv)
{
base_texture app;
basic_texture app;

// parse command
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#include "aph_core.hpp"
#include "aph_renderer.hpp"

class base_texture : public aph::BaseApp
class basic_texture : public aph::BaseApp
{
public:
base_texture();
basic_texture();

void init() override;
void run() override;
Expand Down

0 comments on commit c743fd6

Please sign in to comment.