summaryrefslogtreecommitdiffstats
path: root/src/glut/directfb/internal.h
diff options
context:
space:
mode:
authorClaudio Ciccani <[email protected]>2008-02-08 12:35:08 +0100
committerClaudio Ciccani <[email protected]>2008-02-08 12:35:08 +0100
commitc231f8ff3577ec579464da7259bf24c304a027fc (patch)
treec89a9daf1f24fda9760e8bad4ab8cfe54e9f024b /src/glut/directfb/internal.h
parent5edede94bb506c358f1ee1450504c584c8f665ee (diff)
[glut-directfb] Fixed displaying of single buffered window.
Diffstat (limited to 'src/glut/directfb/internal.h')
-rw-r--r--src/glut/directfb/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glut/directfb/internal.h b/src/glut/directfb/internal.h
index 47311c9342b..55c4b5ce280 100644
--- a/src/glut/directfb/internal.h
+++ b/src/glut/directfb/internal.h
@@ -62,6 +62,9 @@ typedef struct __GlutWindow_s {
IDirectFBSurface *surface;
IDirectFBGL *gl;
+ /* display mode */
+ GLenum mode;
+
/* cursor position in fullscreen mode */
int cx;
int cy;