glCreateShader crashing
I'm trying to implement GLSL shaders. For some reason, I crash with an EXC_BAD_ACCESS error when I try to call glCreateShader.
This is on a MacBook Pro with Leopard, so I'd be surprised if shaders aren't supported.
Update
Never mind. I was trying to call glCreateShader before the OpenGL context was set up. I moved it to the prepareOpenGL method of my graphics view to fix everything.
This is on a MacBook Pro with Leopard, so I'd be surprised if shaders aren't supported.Update
Never mind. I was trying to call glCreateShader before the OpenGL context was set up. I moved it to the prepareOpenGL method of my graphics view to fix everything.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| ImageIO texture loader crashing - Cocoa | mahalis | 4 | 2,807 |
Aug 16, 2006 07:33 AM Last Post: djork |
|
| SDL_mixer crashing on loop - why? | sealfin | 8 | 5,233 |
Jan 26, 2005 09:25 PM Last Post: aaronsullivan |
|
| Texture crashing issues | Josh | 9 | 3,298 |
Apr 11, 2003 07:49 PM Last Post: Josh |
|

