Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 1008 vs 1009 for /trunk/Source Code/Platform/Video/OpenGL/Headers/GLWrapper.h

Diff revisions: vs.
  @@ -255,7 +255,7 @@
255 255
256 256 static bool setScissor(I32 x, I32 y, I32 width, I32 height);
257 257 inline static bool setScissor(const Rect<I32>& newScissorRect) {
258 - setScissor(newScissorRect.x, newScissorRect.y, newScissorRect.z, newScissorRect.w);
258 + return setScissor(newScissorRect.x, newScissorRect.y, newScissorRect.z, newScissorRect.w);
259 259 }
260 260
261 261 static bool setClearColour(const FColour& colour);
  @@ -266,7 +266,7 @@
266 266 /// Change the current viewport area. Redundancy check is performed in GFXDevice class
267 267 static bool changeViewport(I32 x, I32 y, I32 width, I32 height);
268 268 inline static bool changeViewport(const Rect<I32>& newViewport) {
269 - changeViewport(newViewport.x, newViewport.y, newViewport.z, newViewport.w);
269 + return changeViewport(newViewport.x, newViewport.y, newViewport.z, newViewport.w);
270 270 }
271 271
272 272 static bool restoreViewport();