filename | src/drivers/video_gl.h |
changeset | 854:130928a3cdcb |
prev | 736:a02d1475ccfd |
next | 1159:580436b01b6c |
author | nkeynes |
date | Thu Oct 16 12:06:24 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Fix bound check on number of framebuffers allocated Fix repurposing framebuffers to clear out previous attachments to prevent dimension erros. |
file | annotate | diff | log | raw |
1.1 --- a/src/drivers/video_gl.h Mon Jul 14 07:44:42 2008 +00001.2 +++ b/src/drivers/video_gl.h Thu Oct 16 12:06:24 2008 +00001.3 @@ -49,6 +49,13 @@1.4 void gl_texture_window( int width, int height, int tex_id, gboolean inverted );1.6 /**1.7 + * Convert window coordinates to dreamcast device coords (640x480) using the1.8 + * same viewable area as gl_texture_window.1.9 + * If the coordinates are outside the viewable area, the result is -1,-1.1.10 + */1.11 +void gl_window_to_system_coords( int *x, int *y );1.12 +1.13 +/**1.14 * Generic GL read_render_buffer. This function assumes that the caller1.15 * has already set the appropriate glReadBuffer(); in other words, unless1.16 * there's only one buffer this needs to be wrapped.
.