NOTE: TESTING NO LONGER REQUIRED.
I've been working on a 2D lighting program using OpenGL and have been working with friends to make sure that there aren't any issues in actually getting the thing to run, but I still only have limited hardware to work with. I'd appreciate it if a few of you here would take the time to test it out and report any sort of glitches or crashes.
.: Space to pause
.: R to reset lighting scene
.: Q to force a change in render target modes
If it doesn't run right for you, try alternating target modes. Tell me if one works and the other doesn't, and also respond with relevant hardware specs.
The results should be something along the lines of this:
However, if you see anything like this:
Then the render target is losing its alpha channel, and I'll definitely need some hardware specs.
.: Got rid of a memory leak where I was calling glDeleteBuffers instead of glDeleteRenderbuffers
Changed resolution to 1280x720
(The high resolution made TARGET_MODE_TEXTURE_COPY run much slower, it's at 800x600 again in the recent link)
.: Press Q to swap between target modes
.: Disabled fullscreen switching
.: Updated OpenGL function loading mechanism to support function aliases
Note: The hassle of getting this code to work on all machines almost makes me want to rewrite this in Direct3D