Skip to content
Snippets Groups Projects
Commit cb860e81 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Fix gamma test rendering using wrong unit

parent 434238fc
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ int main(int argc, char** argv) ...@@ -121,7 +121,7 @@ int main(int argc, char** argv)
struct nk_panel layout; struct nk_panel layout;
struct nk_rect area; struct nk_rect area;
glfwGetFramebufferSize(window, &width, &height); glfwGetWindowSize(window, &width, &height);
area = nk_rect(0.f, 0.f, (float) width, (float) height); area = nk_rect(0.f, 0.f, (float) width, (float) height);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment