From: divverent Date: Tue, 12 Apr 2011 05:12:58 +0000 (+0000) Subject: oops, fix last fix X-Git-Tag: xonotic-v0.5.0~274 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a2b07de04b2847e1986f9ce3424c960a31baac6a;p=xonotic%2Fdarkplaces.git oops, fix last fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11052 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=4a0c767abcec388c66c2b2157c7b2c3f1346b4cf --- diff --git a/vid_glx.c b/vid_glx.c index 358ab187..1be956e6 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -90,7 +90,7 @@ static GLXContext ctx = NULL; static GC vidx11_gc = NULL; static XImage *vidx11_ximage[2] = { NULL, NULL }; static int vidx11_ximage_pos = 0; -static XShmSegmentInfo vidx11_shminfo[2] = { -1, -1 }; +static XShmSegmentInfo vidx11_shminfo[2]; static int vidx11_shmevent = -1; static int vidx11_shmwait = 0; // number of frames outstanding