fixed stupid bug
This commit is contained in:
parent
fbc9a5d037
commit
280fd4d1fd
@ -43,7 +43,7 @@ Texture* FrameBuffer::getTexture(int texId)
|
|||||||
FrameBuffer* FrameBuffer::getScreen()
|
FrameBuffer* FrameBuffer::getScreen()
|
||||||
{
|
{
|
||||||
static FrameBuffer* screen = NULL;
|
static FrameBuffer* screen = NULL;
|
||||||
if(screen != NULL)
|
if(screen == NULL)
|
||||||
screen = new FrameBuffer(true);
|
screen = new FrameBuffer(true);
|
||||||
return screen;
|
return screen;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user