Game Development Community

"Could not load this GL Function" TGB 1.7.4

by Martin F. · in Technical Issues · 12/05/2009 (8:41 pm) · 0 replies

Comp. Specs
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 3

Intel(R)
Celeron(R) CPU 2.80GHz
2.80GHz, 1.00GB of RAM

Graphics Controller:
OpenGL vendor string: Intel
OpenGL renderer string: Intel 845G
OpenGL version string: 1.3.0 - Build 4.14.10.4020

So I am trying to test my games with TGB 1.7.4. And each time I try to test my game, one of two things happen: 1)The game window shows nothing but black; or 2)The game screen shows up correctly, but the game process uses over 90% of the CPU time.

Under both of these conditions, when i check the console.log, this is what is shown:

Initializing chunk mappings...
Could not load this GL function: glGenTextures
Could not load this GL function: glBindTexture
Could not load this GL function: glTexImage2D
Could not load this GL function: glTexParameteri
Could not load this GL function: glTexParameteri
Could not load this GL function: glTexParameteri
Could not load this GL function: glTexParameteri
Could not load this GL function: glGenTextures
Could not load this GL function: glBindTexture
Could not load this GL function: glTexImage2D
Could not load this GL function: glTexParameteri
Could not load this GL function: glTexParameteri
Could not load this GL function: glTexParameteri
Could not load this GL function: glTexParameteri
   o 'TEXT' maps to TextChunk
   o 'SCHK' maps to UnknownChunk
   o 'SCHK' maps to SimChunk
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/main.cs.
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/game/main.cs.
 % - Initializing Common
Compiling C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/preferences/defaultPrefs.cs...
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/preferences/defaultPrefs.cs.
Reading Display Device information...
   Primary Display Device Found:
      Vendor Id: VEN_0000
      Device Id: DEV_0000

Using OpenGL rendering. Fullscreen: 0

Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/gameScripts/xml.cs.
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/gameScripts/properties.cs.
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/gameScripts/common.cs.
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/gameScripts/audio.cs.
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/gameScripts/canvas.cs.
Loading compiled script C:/Documents and Settings/MartinJr/My Documents/MyGames/PowerupTest/common/gameScripts/cursor.cs.
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 800x600x32 (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: Intel
  Renderer: Intel 845G
  Version: 1.3.0 - Build 4.14.10.4020
OpenGL Init: Enabled Extensions
  ARB_multitexture (Max Texture Units: 4)
  EXT_blend_color
  EXT_blend_minmax
  EXT_compiled_vertex_array
  EXT_texture_env_combine
  EXT_packed_pixels
  EXT_fog_coord
  ARB_texture_compression
  EXT_texture_compression_s3tc
  3DFX_texture_compression_FXT1
  (ARB|EXT)_texture_env_add
  EXT_texture_filter_anisotropic (Max anisotropy: 2)
OpenGL Init: Disabled Extensions
  EXT_paletted_texture
  NV_vertex_array_range
  WGL_EXT_swap_control

Notice where it says "Could not load this GL Function?" I've read some other problems exactly like this one. And on almost every single one of those problems, someone suggested it was a problem with the their graphics card. I am almost 100% sure that this isn't my case; I have checked my graphics card vendor's website, and it says that my graphics card fully supports OpenGL.

EDIT:
I also noticed that while D3D and OpenGL (display) devices are detected, Voodoo 2 display device is not.

If someone could help me solve this problem, it would be greatly appreciated!

About the author

Recent Threads