summaryrefslogtreecommitdiff
path: root/patches/OpenCSG-1.3.0-MacOSX-port.patch
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-08-02 15:41:59 (GMT)
committerMarius Kintel <marius@kintel.net>2011-08-02 15:41:59 (GMT)
commite8dac70bcd2d950a36baf522113ac9ce0a50c724 (patch)
tree85d6cfe65cbfa687297ff92319224959749f449f /patches/OpenCSG-1.3.0-MacOSX-port.patch
parentc79ad5010e4ae8a612de5423cd52a518ed6b4d65 (diff)
Patch to allow OpenCSG to render into an FBO instead of into the system-provided framebuffer
Diffstat (limited to 'patches/OpenCSG-1.3.0-MacOSX-port.patch')
-rw-r--r--patches/OpenCSG-1.3.0-MacOSX-port.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/patches/OpenCSG-1.3.0-MacOSX-port.patch b/patches/OpenCSG-1.3.0-MacOSX-port.patch
index bb55165..e8eaa92 100644
--- a/patches/OpenCSG-1.3.0-MacOSX-port.patch
+++ b/patches/OpenCSG-1.3.0-MacOSX-port.patch
@@ -1102,7 +1102,7 @@ diff -ru OpenCSG-1.3.0/src/channelManager.cpp OpenCSG-1.3.0-mac/src/channelManag
diff -ru OpenCSG-1.3.0/src/frameBufferObject.h OpenCSG-1.3.0-mac/src/frameBufferObject.h
--- OpenCSG-1.3.0/src/frameBufferObject.h 2010-02-06 21:35:10.000000000 +0100
+++ OpenCSG-1.3.0-mac/src/frameBufferObject.h 2010-05-09 02:51:36.000000000 +0200
-@@ -79,10 +79,10 @@
+@@ -79,11 +79,11 @@
/// Texture stuff
GLenum textureTarget;
@@ -1112,7 +1112,9 @@ diff -ru OpenCSG-1.3.0/src/frameBufferObject.h OpenCSG-1.3.0-mac/src/frameBuffer
+ GLuint depthID;
- unsigned int framebufferID;
+- int oldFramebufferID;
+ GLuint framebufferID;
++ GLint oldFramebufferID;
bool initialized;
};
contact: Jan Huwald // Impressum