Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/app_blender/AppGLWidget.h')
-rwxr-xr-xsource/blender/freestyle/intern/app_blender/AppGLWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/app_blender/AppGLWidget.h b/source/blender/freestyle/intern/app_blender/AppGLWidget.h
index 15238ba6269..eb233bfcb7d 100755
--- a/source/blender/freestyle/intern/app_blender/AppGLWidget.h
+++ b/source/blender/freestyle/intern/app_blender/AppGLWidget.h
@@ -329,6 +329,7 @@ public:
/*! glReadPixels */
typedef enum{
+ RGBA,
RGB,
DEPTH
} PixelFormat;
@@ -345,6 +346,9 @@ public:
GLenum glformat;
switch(format)
{
+ case RGBA:
+ glformat = GL_RGBA;
+ break;
case RGB:
glformat = GL_RGB;
break;