Avoid 'possibly uninitialized' warning.
svn path=/trunk/KDE/kdebase/workspace/; revision=787696
This commit is contained in:
parent
f0badecfe6
commit
6c823ead71
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void CompositingPrefs::detect()
|
|||
// remember and later restore active context
|
||||
GLXContext oldcontext = glXGetCurrentContext();
|
||||
GLXDrawable olddrawable = glXGetCurrentDrawable();
|
||||
GLXDrawable oldreaddrawable;
|
||||
GLXDrawable oldreaddrawable = None;
|
||||
if( hasglx13 )
|
||||
oldreaddrawable = glXGetCurrentReadDrawable();
|
||||
|
||||
|
|
Loading…
Reference in a new issue