New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

OpenGL shaders acting up

Post Reply New Thread Subscribe

Thread Tools

Member Since: Feb 13, 2012
Posts: 1
tgashby is on a distinguished road

tgashby is offline
Hey everyone,

First to get the usual details out of the way:

Late 2008 Macbook Pro
OSX Lion 10.7.3
2.53 GHz Intel Core 2 Duo
NVIDIA GeForce 9400M GT 512 MB

I have been working on a graphics project (game) with 5 others. Each of them can run it, including one person who is also using XCode 4.

We are using OpenGL, and SDL to make it.

We just recently demo'ed our progress on my laptop and everything went great.

I have made no changes, not a single character, to the code and now it is segfaulting on a glCreateShader call. It is passed GL_VERTEX_SHADER.

It seems to me that OpenGL has just crapped out all of a sudden and I have no idea why.

I ran it by the nearest Apple Store and they ran the usual hardware diagnostics and didn't find anything they weren't expecting.

I have tried running the code both from XCode 4 and the terminal, both compile successfully and both segfault in the same place.

I think I just recently updated to 10.7.3, so there could be an issue there. I have no idea how to roll back the update, or if it's even possible. (Doesn't seem to be from my quick googling.)

Any thoughts?

Thank you,
Tag Ashby
QUOTE Thanks

Post Reply New Thread Subscribe

« Creating a package for MAC OS. multi-user environment | Inline Assembly in XCode 4.0 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
iWeb is acting weird. stevegate OS X - Apps and Games 2 12-21-2009 06:26 PM
Trying a simple OpenGL program g00fy OS X - Development and Darwin 0 02-13-2009 05:42 AM
OpenGL issue PowerBookG4 Apple Desktops 1 05-22-2007 07:21 PM
Cannot configure OpenGL / GLUT zed_katarn OS X - Development and Darwin 0 02-15-2006 11:52 AM
GLUT & OpenGL problems dcholth OS X - Development and Darwin 4 05-21-2004 01:53 PM

All times are GMT -4. The time now is 03:11 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?