Skip to content

Commit 188f6bb

Browse files
author
Ryan Gordon
committed
Fixing slight cropping within viewer
1 parent ad5666a commit 188f6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/viewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ bool Viewer::render()
167167

168168
glViewport(x, y, fb_width_half, fb_height_half);
169169
x += fb_width_half;
170-
if (x >= fb_width)
170+
if (x >= (fb_width - 1))
171171
{
172172
x = 0;
173173
y += fb_height_half;

0 commit comments

Comments
 (0)