TINYGL: Implemented tglDepthMask.

This commit is contained in:
Stefano Musumeci 2014-07-03 16:26:01 +02:00
parent d05bfb30b7
commit 38aa730b76
6 changed files with 127 additions and 68 deletions

View file

@ -57,7 +57,7 @@ void memset_l(void *adr, int val, int count) {
*p++ = val;
}
FrameBuffer::FrameBuffer(int width, int height, const Graphics::PixelBuffer &frame_buffer) {
FrameBuffer::FrameBuffer(int width, int height, const Graphics::PixelBuffer &frame_buffer) : _depthWrite(true) {
int size;
this->xsize = width;