fix DCAST problem

This commit is contained in:
aignacio_sf 2006-02-08 19:57:11 +00:00
parent 900f098890
commit eec9125b58
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ OsMesaGraphicsBuffer::
OsMesaGraphicsBuffer(GraphicsPipe *pipe, GraphicsStateGuardian *gsg,
const string &name,
int x_size, int y_size) :
GraphicsBuffer(pipe, gsg, name, x_size, y_size)
GraphicsBuffer(pipe, gsg, name, x_size, y_size)
{
_type = GL_UNSIGNED_BYTE;
}
@ -63,7 +63,7 @@ begin_frame(FrameMode mode) {
}
OSMesaGraphicsStateGuardian *mesagsg;
DCAST_INTO_V(mesagsg, _gsg);
DCAST_INTO_R(mesagsg, _gsg, false);
OSMesaMakeCurrent(mesagsg->_context, _image.p(), _type,
_x_size, _y_size);