mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Oops, the fix was only for EGL
This commit is contained in:
parent
bdf4591c3a
commit
1feec43b43
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user