gpu: initialize targetBufferOffset on startup
This commit is contained in:
@@ -301,6 +301,7 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
fboSceneHandle = rboSceneHandle = -1; // AA FBO
|
fboSceneHandle = rboSceneHandle = -1; // AA FBO
|
||||||
|
targetBufferOffset = 0;
|
||||||
unorderedModels = smallModels = largeModels = 0;
|
unorderedModels = smallModels = largeModels = 0;
|
||||||
drawingModel = false;
|
drawingModel = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user