1.1 --- a/src/drivers/gl_common.c Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/drivers/gl_common.c Thu Nov 08 11:53:56 2007 +0000
1.5 - * $Id: gl_common.c,v 1.6 2007-10-31 09:10:23 nkeynes Exp $
1.6 + * $Id: gl_common.c,v 1.7 2007-10-31 12:05:23 nkeynes Exp $
1.8 * Common GL code that doesn't depend on a specific implementation
1.14 +#include "pvr2/pvr2.h"
1.15 #include "drivers/gl_common.h"
1.17 extern uint32_t video_width, video_height;
1.19 glPixelStorei( GL_UNPACK_ROW_LENGTH, rowstride );
1.20 glBindTexture( GL_TEXTURE_RECTANGLE_ARB, render->buf_id );
1.21 glTexSubImage2D( GL_TEXTURE_RECTANGLE_ARB, 0, 0,0,
1.22 - frame->width, frame->height, format, type, frame->data );
1.23 + frame->width, frame->height, format, type, frame->data );
1.27 gboolean gl_display_blank( uint32_t colour )