TextureRange sample

Red Marble Game
Unregistered
 
Post: #1
I've been trying to incorporate some of the changes in the TextureRange sample code from Apple into my GL implementation -- using client storage, the rectangle extension, etc. Though it all works fine on my G4 PowerBook and 10.3, some other machines crash in glTexSubImage2D. Anyone had a similar experience?
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #2
Are you sure you're retaining the client-side texture buffer? If you use client storage, but then release the texture buffer, GL will try to texture from random memory == crash.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Sample Code Apple removed? SaxMan 12 6,379 Jan 17, 2009 05:26 PM
Last Post: AnotherJake
  New Apple Render to Vertex Buffer Sample OneSadCookie 13 7,391 Oct 15, 2006 01:10 AM
Last Post: OneSadCookie
  FBO sample code posted arekkusu 5 4,489 Sep 20, 2006 09:23 PM
Last Post: Frank C.
  How to read an iTunes playlist, sample code TomorrowPlusX 4 4,955 Sep 9, 2005 11:06 PM
Last Post: LongJumper
  Does Anyone have a sample of SDL being implemented without Project Builder? tingham 10 4,337 Oct 7, 2003 11:42 AM
Last Post: Fenris