Fix an NVIDIA problem.
This commit is contained in:
parent
448bc3facd
commit
fd1979857c
@ -1414,7 +1414,7 @@ void RenderTexture::_ParseModeString(const char *modeString,
|
||||
#else
|
||||
if (GL_NV_float_buffer)
|
||||
{
|
||||
pfAttribs.push_back(GL_FLOAT_COMPONENTS_NV);
|
||||
pfAttribs.push_back(GLX_FLOAT_COMPONENTS_NV);
|
||||
pfAttribs.push_back(1);
|
||||
}
|
||||
#endif
|
||||
|
@ -445,15 +445,18 @@ typedef BOOL (APIENTRY * wglSetPbufferAttribARBPROC) (HPBUFFERARB hPbuffer, cons
|
||||
#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
|
||||
#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
|
||||
#define GL_FLOAT_RGBA_MODE_NV 0x888E
|
||||
#define GL_FLOAT_COMPONENTS_NV 0x20B0
|
||||
#define GL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
|
||||
#define GL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
|
||||
#define GL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
|
||||
#define GL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
|
||||
#define GL_TEXTURE_FLOAT_R_NV 0x20B5
|
||||
#define GL_TEXTURE_FLOAT_RG_NV 0x20B6
|
||||
#define GL_TEXTURE_FLOAT_RGB_NV 0x20B7
|
||||
#define GL_TEXTURE_FLOAT_RGBA_NV 0x20B8
|
||||
#endif
|
||||
#ifndef GLX_NV_float_buffer
|
||||
#define GLX_NV_float_buffer 1
|
||||
#define GLX_FLOAT_COMPONENTS_NV 0x20B0
|
||||
#define GLX_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
|
||||
#define GLX_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
|
||||
#define GLX_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
|
||||
#define GLX_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
|
||||
#define GLX_TEXTURE_FLOAT_R_NV 0x20B5
|
||||
#define GLX_TEXTURE_FLOAT_RG_NV 0x20B6
|
||||
#define GLX_TEXTURE_FLOAT_RGB_NV 0x20B7
|
||||
#define GLX_TEXTURE_FLOAT_RGBA_NV 0x20B8
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user