Skip to content

Commit 020d2d0

Browse files
committed
FIX: scissor initialization
1 parent b8ccc59 commit 020d2d0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define OMEGA_VERSION_MAJOR 11
55
#define OMEGA_VERSION_MINOR 1
6-
#define OMEGA_VERSION_REVISION 0
6+
#define OMEGA_VERSION_REVISION 1
77

88
#define _VSTH(v) #v
99
#define _VERSTR(v) _VSTH(v)

src/omega/DrawContext.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ void DrawContext::updateViewport()
319319
{
320320
viewport = Rect(pvpx, pvpy, pvpw, pvph);
321321
}
322+
323+
drawInterface->setScissor(viewport);
322324
}
323325

324326
///////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)