View | Details | Raw Unified | Return to bug 221890 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/cegui/files/patch-cegui_src_RendererModules_OpenGL_GLXPBTextureTarget.cpp (-1 / +13 lines)
Added Link Here
0
- 
1
--- cegui/src/RendererModules/OpenGL/GLXPBTextureTarget.cpp.orig	2017-09-04 09:23:19.204908000 +0100
2
+++ cegui/src/RendererModules/OpenGL/GLXPBTextureTarget.cpp	2017-09-04 09:23:27.141062000 +0100
3
@@ -157,8 +157,8 @@
4
 {
5
     int creation_attrs[] =
6
     {
7
-        GLX_PBUFFER_WIDTH, d_area.getWidth(),
8
-        GLX_PBUFFER_HEIGHT, d_area.getHeight(),
9
+        GLX_PBUFFER_WIDTH, static_cast<int>(d_area.getWidth()),
10
+        GLX_PBUFFER_HEIGHT, static_cast<int>(d_area.getHeight()),
11
         GLX_LARGEST_PBUFFER, True,
12
         GLX_PRESERVED_CONTENTS, True,
13
         None

Return to bug 221890