Resolve ID: 3404540 - visualinfo pixelformat addition

This commit is contained in:
Nigel Stewart 2012-05-04 11:07:15 -05:00
parent 1728006b5d
commit 6c1f5f290d

View File

@ -353,6 +353,8 @@ VisualInfoARB (GLContext* ctx)
else if (WGLEW_ATI_pixel_format_float && value[7] == WGL_TYPE_RGBA_FLOAT_ATI) fprintf(file, " f ");
else if (value[7] == WGL_TYPE_RGBA_ARB) fprintf(file, " i ");
else if (value[7] == WGL_TYPE_COLORINDEX_ARB) fprintf(file, " c ");
else if (value[7] == WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT) fprintf(file," p ");
else fprintf(file," ? ");
/* double buffer */
fprintf(file, " %c ", value[5] ? 'y' : '.');
/* swap method */