Quote:Original post by idinevSince my code works in compatibility mode but not core mode, is there an easy way to make it list (or generate errors on) the functions I should not be calling? That sure would make it easier to figure out where are the places I need to upgrade.
I just didn't need to set that bit :) . I only need core-profile (moving my 2.1 stuff to 3.1 was quick and painless, moving to 3.2 took 5 minutes).
There's "forward compatibility" and "backward compatibility". Probably you don't need the forward-compatibility, replace it with 0.
One thing I see is... I need to remove where I set the MODELVIEW and PROJECTION matrix. Presumably I'm supposed to multiply those on the CPU and put a single matrix into the GPU as a uniform matrix, huh? Or I suppose I could put those two matrices into a uniform block and have the GPU do the multiply. I assume I just need to mat4x4 singlemat = modelviewmat * projectionmat; or something like that.
[Edited by - maxgpgpu on January 4, 2010 10:51:09 PM]