mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
generalize render-to-texture operations
This commit is contained in:
parent
f80bae23f0
commit
e8bcb26e88
@ -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);
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user