[2/2] winex11: Don't use context-specific info when initializing

Christoph Frick frick at sc-networks.de
Fri Aug 10 04:35:59 CDT 2007


On Fri, Aug 10, 2007 at 02:29:49AM -0700, Chris Robinson wrote:

@@ -137,7 +132,7 @@ typedef struct wine_glpbuffer {
 } Wine_GLPBuffer;

 static Wine_GLContext *context_list;
-static struct WineGLInfo WineGLInfo = { 0 };
+static struct WineGLInfo WineGLInfo;
 static int use_render_texture_emulation = 1;
 static int use_render_texture_ati = 0;
 static int swap_interval = 1;

why is this changed? its a Good Thing to have global structs initialized so
they fail earlier under abuse.

-- 
cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070810/83af0373/attachment.pgp


More information about the wine-devel mailing list