generalize render-to-texture operations

This commit is contained in:
David Rose 2005-03-01 21:35:47 +00:00
parent f80bae23f0
commit e8bcb26e88
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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();