Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glGenTextures call results in "Bus error"



On Nov 1, 2007, at 12:46 AM, Bruce Wheaton wrote:
At a guess - you need to be in a valid OpenGl context at the time - that's 'where' the textures are created. Windows may seem to work, but where do the textures end up?

On Nov 1, 2007, at 2:25 AM, Kent Miller wrote:
You can not call gl calls without making a OpenGL context. In OS X glut this happens when you call glutCreateWindow().

Bruce and Kent,

Thanks guys! You both were spot on. In the application I am developing, I was calling glGenTextures() far too early. The issue is now fixed.

Thanks again,

--JT
http://zhaymusic.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.