mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 01:42:14 -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::
|
||||||
glxGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
|
glxGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
|
||||||
const string &name,
|
const string &name,
|
||||||
int x_size, int y_size, bool want_texture) :
|
int x_size, int y_size) :
|
||||||
GraphicsBuffer(pipe, gsg, name, x_size, y_size, want_texture)
|
GraphicsBuffer(pipe, gsg, name, x_size, y_size)
|
||||||
{
|
{
|
||||||
glxGraphicsPipe *glx_pipe;
|
glxGraphicsPipe *glx_pipe;
|
||||||
DCAST_INTO_V(glx_pipe, _pipe);
|
DCAST_INTO_V(glx_pipe, _pipe);
|
||||||
|
@ -37,7 +37,7 @@ class glxGraphicsBuffer : public GraphicsBuffer {
|
|||||||
public:
|
public:
|
||||||
glxGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
|
glxGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
|
||||||
const string &name,
|
const string &name,
|
||||||
int x_size, int y_size, bool want_texture);
|
int x_size, int y_size);
|
||||||
|
|
||||||
virtual ~glxGraphicsBuffer();
|
virtual ~glxGraphicsBuffer();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user