filename | src/drivers/video_gl.h |
changeset | 1236:d93175c36387 |
prev | 1222:a4545699a82b |
next | 1246:887f7b0ac7f3 |
author | nkeynes |
date | Fri Feb 24 21:17:47 2012 +1000 (12 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/drivers/video_gl.h Wed Feb 15 17:54:51 2012 +10001.2 +++ b/src/drivers/video_gl.h Fri Feb 24 21:17:47 2012 +10001.3 @@ -23,6 +23,13 @@1.4 extern "C" {1.5 #endif1.7 +extern uint32_t video_width, video_height;1.8 +1.9 +/**1.10 + * Set the video size used by the frame blits1.11 + */1.12 +void gl_set_video_size( uint32_t width, uint32_t height );1.13 +1.14 /**1.15 * Generic GL routine to draw the given frame buffer into a texture1.16 */
.