projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[freeglut]
/
src
/
x11
/
fg_state_x11_glx.c
diff --git
a/src/x11/fg_state_x11_glx.c
b/src/x11/fg_state_x11_glx.c
index
bd2b35e
..
4688196
100644
(file)
--- a/
src/x11/fg_state_x11_glx.c
+++ b/
src/x11/fg_state_x11_glx.c
@@
-27,6
+27,7
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
#include <GL/freeglut.h>
#include "fg_internal.h"
+#include "x11/fg_window_x11_glx.h"
/*
* Queries the GL context about some attributes
/*
* Queries the GL context about some attributes
@@
-34,7
+35,7
@@
int fgPlatformGetConfig( int attribute )
{
int returnValue = 0;
int fgPlatformGetConfig( int attribute )
{
int returnValue = 0;
- int result; /* Not checked */
+ int result __fg_unused; /* Not checked */
if( fgStructure.CurrentWindow )
result = glXGetFBConfigAttrib( fgDisplay.pDisplay.Display,
if( fgStructure.CurrentWindow )
result = glXGetFBConfigAttrib( fgDisplay.pDisplay.Display,
@@
-170,7
+171,7
@@
int *fgPlatformGlutGetModeValues(GLenum eWhat, int *size)
if (fbconfigArray != NULL)
{
int * temp_array;
if (fbconfigArray != NULL)
{
int * temp_array;
- int result; /* Returned by glXGetFBConfigAttrib. Not checked. */
+ int result __fg_unused; /* Returned by glXGetFBConfigAttrib. Not checked. */
int previous_value;
int i;
int previous_value;
int i;