projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4adab35
)
Silence warning.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 12 Apr 2011 20:01:33 +0000
(21:01 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Tue, 12 Apr 2011 20:01:33 +0000
(21:01 +0100)
glws_glx.cpp
patch
|
blob
|
history
diff --git
a/glws_glx.cpp
b/glws_glx.cpp
index
7d286a5
..
67a8829
100644
(file)
--- a/
glws_glx.cpp
+++ b/
glws_glx.cpp
@@
-196,7
+196,7
@@
public:
makeCurrent(Drawable *drawable, Context *context)
{
if (!drawable || !context) {
- return glXMakeCurrent(display, N
ULL
, NULL);
+ return glXMakeCurrent(display, N
one
, NULL);
} else {
GlxDrawable *glxDrawable = dynamic_cast<GlxDrawable *>(drawable);
GlxContext *glxContext = dynamic_cast<GlxContext *>(context);