summaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-03-29 14:18:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-03-29 14:18:12 +0200
commit7fb2ba3b4b7d45eceb289356eef67a0118d12c89 (patch)
treec86b6638605ff50df598e0bb809556846a28f771 /main.cpp
parent7f53ecde3a481dff3eb4e69f3cfba36d0bece7f9 (diff)
.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 7227bd3e..2e5403b2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -107,7 +107,7 @@ application::application(const Arguments& arguments):
.setTitle("Test")
.setSize({1024, 768}, dpi_policy::Physical),
GLConfiguration{}
- //.setSampleCount(16)
+ .setSampleCount(16)
}
{
struct QuadVertex {
@@ -194,7 +194,7 @@ void application::drawEvent() {
{
auto projection = make_projection(camera_offset);
- auto ratio = projection_size_ratio();
+ //auto ratio = projection_size_ratio();
float y_scale = 1.2f/windowSize()[1];
_shader.set_projection(projection, y_scale);
}
@@ -211,7 +211,7 @@ void application::drawEvent() {
#endif
swapBuffers();
- redraw();
+ //redraw();
}
void application::update(float dt)