mirror of
https://github.com/glfw/glfw.git
synced 2025-04-05 05:25:07 +00:00
Fix gamma test rendering using wrong unit
This commit is contained in:
parent
434238fcd4
commit
cb860e8150
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ int main(int argc, char** argv)
|
|||
struct nk_panel layout;
|
||||
struct nk_rect area;
|
||||
|
||||
glfwGetFramebufferSize(window, &width, &height);
|
||||
glfwGetWindowSize(window, &width, &height);
|
||||
area = nk_rect(0.f, 0.f, (float) width, (float) height);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
|
Loading…
Add table
Reference in a new issue