Fix Screen::ScreenShot
authorSam Moore <[email protected]>
Thu, 17 Apr 2014 06:05:34 +0000 (14:05 +0800)
committerSam Moore <[email protected]>
Thu, 17 Apr 2014 06:05:34 +0000 (14:05 +0800)
commit4f0feb025e48aaaa0ffe0226c5135e116d1cb986
tree1652e2d0a483f9f5fe524512c107f4814d211554
parent5a72624d0293ca0881eea873490269cf61a5f762
Fix Screen::ScreenShot

Something to do with the OpenGL buffers meant that the rendered BMP wasn't in the buffer before the glReadPixels call.

I have no idea why the screenshot worked for the rectangles and not for a texture, but oh well.
src/main.h
src/screen.cpp

UCC git Repository :: git.ucc.asn.au