Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
vrld
c208f4b08d
Add missing license headers.
2011-11-12 21:19:35 +01:00
Bill Meltsner
14348f6146
Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument
2011-10-04 12:33:34 -04:00
Bill Meltsner
4cb247b3ea
Change how Canvas is flipped and add Canvas::drawq
2011-10-04 11:34:33 -04:00
vrld
65f8bcd375
Another take at issue #294 , which should fix issues with nVidia cards.
...
According to http://www.opengl.org/wiki/Image_Formats#Depth_stencil_formats , no driver really supported an individial stencil attachment. Combined depth/stencil buffers have support since OpenGL 3.0 or with the packed_depth_stencil extension.
2011-09-08 16:09:10 +02:00
vrld
4f0028050d
Fix issue #294 (really this time).
...
Add stencil attachment to framebuffer creation. Needed to remove depth
attachment to make it work, but that should not change anything, since depth
test is not enabled anyway. May need testing nonetheless.
2011-09-08 12:25:43 +02:00
vrld
d5dce6284f
Fix issue #294 : Canvas not working when not rendering to default render target.
2011-09-07 13:42:51 +02:00
vrld
28b4008797
Rename Framebuffer to Canvas (issue #263 ). Move error reporting code.
...
Error reporting now resides in Graphics::newCanvas() instead of the
previous location wrap_newFramebuffer(). Changed error text for
"Error in implementation" to point to a possible fix.
2011-08-12 14:41:18 +02:00