Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/simple_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ InputController * SimpleScene::GetCameraInput() const

void SimpleScene::ClearScreen(const glm::vec3 &color)
{
glm::ivec2 resolution = window->props.resolution;
glm::ivec2 resolution = window->GetResolution();

// Sets the clear color for the color buffer
glClearColor(color.x, color.y, color.z, 1);
Expand Down
2 changes: 1 addition & 1 deletion src/lab_m1/lab1/lab1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void Lab1::FrameStart()

void Lab1::Update(float deltaTimeSeconds)
{
glm::ivec2 resolution = window->props.resolution;
glm::ivec2 resolution = window->GetResolution();

// Sets the clear color for the color buffer

Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plase keep gfxc::SimpleScene!

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int main(int argc, char **argv)
(void)Engine::Init(wp);

// Create a new 3D world and start running it
World *world = new gfxc::SimpleScene();
World *world = new m1::Lab3_Vis2D();

world->Init();
world->Run();
Expand Down