Agl_buffer_rect

Moderator
Posts: 133
Joined: 2008.05
Post: #1
This is only a rant, but it does include one tidbit of helpful information concerning AGL_BUFFER_RECT.

Nearly everything to do with placing things inside a window in Carbon has to do with the bounds inside it's "content" region. Everything except AGL_BUFFER_RECT, which uses the entirity of the window("structure" region). I just spent 2 days in XCode's shitty debugger trying to figure out why my picking procedure was off by a few pixels, checking and changing everything from which AGLContext it was in to the actual opengl picking procedure.

Only to randomly come across some information that told me it was based on the structure region. Piece of shit.
Quote this message in a reply
Post Reply