Oops, the fix was only for EGL

This commit is contained in:
rdb 2011-01-26 14:41:47 +00:00
parent bdf4591c3a
commit 1feec43b43
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ choose_pixel_format(const FrameBufferProperties &properties,
int best_result = 0;
FrameBufferProperties best_props;
static const int max_attrib_list = 256;
static const int max_attrib_list = 32;
int attrib_list[max_attrib_list];
int n = 0;
attrib_list[n++] = GLX_STEREO;

View File

@ -166,7 +166,7 @@ bool wglGraphicsStateGuardian::
get_properties_advanced(FrameBufferProperties &properties,
HDC window_dc, int pfnum) {
static const int max_attrib_list = 256;
static const int max_attrib_list = 32;
int iattrib_list[max_attrib_list];
int ivalue_list[max_attrib_list];
int ni = 0;