Dec. 9, 2011
10:34 a.m.
On 09.12.2011 11:27, Henrik Sperre Johansen wrote:
That's not specific to offscreen rendering contexts though, (nor pixelformats, another windows artifact)
I should perhaps say; they're not Windows specific as such, but the implementation in NBOpenGL is. Personally, I'd rather have createContext: taking a crossplatform pixel/buffer format as argument, the platform context transcribe that into the native object needed as parameter for context creation, and some sort of way to check if the context created actually matched your specification. Makes the whole "Your context was invalid for those operations" class of errors a lot more transparent, which I've found to be the source of trouble multiple times at least. Cheers, Henry
5348
Age (days ago)
5348
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henrik Sperre Johansen