gpu plugin: initialize aa fbo handles
This fixes erroneously deleting texture/framebuffer/renderbuffer 0 in shutdownAAFbo
This commit is contained in:
@@ -279,6 +279,7 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
bufferId = uvBufferId = uniformBufferId = tmpBufferId = tmpUvBufferId = tmpModelBufferId = tmpModelBufferSmallId = tmpModelBufferUnorderedId = tmpOutBufferId = tmpOutUvBufferId = -1;
|
bufferId = uvBufferId = uniformBufferId = tmpBufferId = tmpUvBufferId = tmpModelBufferId = tmpModelBufferSmallId = tmpModelBufferUnorderedId = tmpOutBufferId = tmpOutUvBufferId = -1;
|
||||||
|
texSceneHandle = fboSceneHandle = rboSceneHandle = -1; // AA FBO
|
||||||
unorderedModels = smallModels = largeModels = 0;
|
unorderedModels = smallModels = largeModels = 0;
|
||||||
drawingModel = false;
|
drawingModel = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user