Browse Source

generalize render-to-texture operations

David Rose 21 years ago
parent
commit
e8bcb26e88

+ 2 - 2
panda/src/glxdisplay/glxGraphicsBuffer.cxx

@@ -39,8 +39,8 @@ TypeHandle glxGraphicsBuffer::_type_handle;
 glxGraphicsBuffer::
 glxGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
                   const string &name,
-                  int x_size, int y_size, bool want_texture) :
-  GraphicsBuffer(pipe, gsg, name, x_size, y_size, want_texture) 
+                  int x_size, int y_size) :
+  GraphicsBuffer(pipe, gsg, name, x_size, y_size) 
 {
   glxGraphicsPipe *glx_pipe;
   DCAST_INTO_V(glx_pipe, _pipe);

+ 1 - 1
panda/src/glxdisplay/glxGraphicsBuffer.h

@@ -37,7 +37,7 @@ class glxGraphicsBuffer : public GraphicsBuffer {
 public:
   glxGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
                     const string &name,
-                    int x_size, int y_size, bool want_texture);
+                    int x_size, int y_size);
 
   virtual ~glxGraphicsBuffer();