* fixed small mistake in FBO example code
authorBergmann89 <bergmann89@muo-game.de>
Sat, 22 Nov 2014 14:14:16 +0000 (15:14 +0100)
committerBergmann89 <bergmann89@muo-game.de>
Sat, 22 Nov 2014 14:14:16 +0000 (15:14 +0100)
uglcFrameBufferObject.pas

index d468b9d..b08fba3 100644 (file)
@@ -9,7 +9,7 @@ unit uglcFrameBufferObject;
       tex: TglcTextureBuffer;
       buf: TglcRenderBuffer;
 
-    fbo := TglcFrameBufferObject;
+    fbo := TglcFrameBufferObject.Create;
     try
       ffbo.SetSize(800, 600);