Search
lxdream.org :: lxdream/src/pvr2/glutil.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glutil.h
changeset 1236:d93175c36387
prev1223:61684ca88599
next1245:01e0020adf88
author nkeynes
date Fri Feb 24 21:17:47 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Factor video_width/video_height out into video_gl.c
Convert immediate-mode bits in video_gl.c into a structure for glDrawArray
Move setOrtho into defineOrthoMatrix in glutil.c
Rearrange various GL settings to keep a consistent state
file annotate diff log raw
1.1 --- a/src/pvr2/glutil.h Wed Feb 15 18:09:02 2012 +1000
1.2 +++ b/src/pvr2/glutil.h Fri Feb 24 21:17:47 2012 +1000
1.3 @@ -128,6 +128,9 @@
1.4 void glsl_unload_shaders(void);
1.5 void glsl_clear_shader();
1.6
1.7 +/* Define an orthographic transform matrix, given the bounding box (assuming origin at 0) */
1.8 +void defineOrthoMatrix( GLfloat *matrix, GLfloat width, GLfloat height, GLfloat znear, GLfloat zfar );
1.9 +
1.10 /* Convenience formatting function for driver use */
1.11 void fprint_extensions( FILE *out, const char *extensions );
1.12
.