From e8bcb26e88da650e14322cc150e870af7e9d4f5d Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 1 Mar 2005 21:35:47 +0000 Subject: [PATCH] generalize render-to-texture operations --- panda/src/glxdisplay/glxGraphicsBuffer.cxx | 4 ++-- panda/src/glxdisplay/glxGraphicsBuffer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/glxdisplay/glxGraphicsBuffer.cxx b/panda/src/glxdisplay/glxGraphicsBuffer.cxx index d3f3a01db1..4d4571258f 100644 --- a/panda/src/glxdisplay/glxGraphicsBuffer.cxx +++ b/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); diff --git a/panda/src/glxdisplay/glxGraphicsBuffer.h b/panda/src/glxdisplay/glxGraphicsBuffer.h index 2c7ccf92dc..299528cd13 100644 --- a/panda/src/glxdisplay/glxGraphicsBuffer.h +++ b/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();