Could not load gl function: glBlendEquationEXT
by Steve Kilcollins · in Torque Game Engine · 01/21/2006 (9:40 am) · 2 replies
I was playing around with 1.4 and seeing what the new gui controls do. I wanted to see what the guiEffectCanvas. when I would add it.. torque would lock up. I found a post to look at guiVectorFieldCtrl.
When I added a guiVectorFieldCtrl.. it did not do anything. I lookedin the console and saw the message "Could not load the GL function: glBlendEquationEXT" spaming the console.
Here is what the console says when it inits my video:
Video Init:
Accelerated OpenGL display device detected.
Accelerated D3D device detected.
Voodoo 2 display device not detected.
Activating the OpenGL display device...
Activating the OpenGL display device...
Setting screen mode to 1024x768x32 (w)...
Creating a new window...
Acquiring a new device context...
Pixel format set:
32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
OpenGL driver information:
Vendor: NVIDIA Corporation
Renderer: GeForce 6800 Ultra/AGP/SSE2
Version: 2.0.1
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 4)
EXT_blend_color
EXT_blend_minmax
EXT_compiled_vertex_array
NV_vertex_array_range
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
EXT_texture_compression_s3tc
(ARB|EXT)_texture_env_add
EXT_texture_filter_anisotropic (Max anisotropy: 16)
WGL_EXT_swap_control
OpenGL Init: Disabled Extensions
EXT_paletted_texture
3DFX_texture_compression_FXT1
My forceware driver is 81.98
How do I get the glBlendEquationEXT?
When I added a guiVectorFieldCtrl.. it did not do anything. I lookedin the console and saw the message "Could not load the GL function: glBlendEquationEXT" spaming the console.
Here is what the console says when it inits my video:
Video Init:
Accelerated OpenGL display device detected.
Accelerated D3D device detected.
Voodoo 2 display device not detected.
Activating the OpenGL display device...
Activating the OpenGL display device...
Setting screen mode to 1024x768x32 (w)...
Creating a new window...
Acquiring a new device context...
Pixel format set:
32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
OpenGL driver information:
Vendor: NVIDIA Corporation
Renderer: GeForce 6800 Ultra/AGP/SSE2
Version: 2.0.1
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 4)
EXT_blend_color
EXT_blend_minmax
EXT_compiled_vertex_array
NV_vertex_array_range
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
EXT_texture_compression_s3tc
(ARB|EXT)_texture_env_add
EXT_texture_filter_anisotropic (Max anisotropy: 16)
WGL_EXT_swap_control
OpenGL Init: Disabled Extensions
EXT_paletted_texture
3DFX_texture_compression_FXT1
My forceware driver is 81.98
How do I get the glBlendEquationEXT?
#2
01/28/2010 (4:39 pm)
I figured out why it wasnt being loaded, at least for me. Add the block that begins with "// Load the blend extensions if available" in the between these other two blocks (in winGL.cc, approx line 486)// 3DFX_texture_compression_FXT1
if (pExtString && dStrstr(pExtString, (const char*)"3DFX_texture_compression_FXT1") != NULL)
gGLState.suppFXT1 = true;
else
gGLState.suppFXT1 = false;
// Load the blend extensions if available
if (gGLState.suppEXTblendminmax)
{
extBitMask |= EXT_blend_minmax;
}
if (!bindEXTFunctions(extBitMask))
Con::warnf("You are missing some OpenGL Extensions. This is bad.");
Torque 3D Owner Steve Kilcollins
Imagination U