Search
lxdream.org :: lxdream/src/drivers/video_gl.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gl.h
changeset 854:130928a3cdcb
prev736:a02d1475ccfd
next1159:580436b01b6c
author nkeynes
date Thu Jan 15 04:15:11 2009 +0000 (15 years ago)
permissions -rw-r--r--
last change Add support for the Intel ICC compiler (C only, icc doesn't support Obj-C)
- Rename Obj-C source to .m
- Separate paths.c into paths_unix.c and paths_osx.m
- Add configuration detection of ICC, along with specific opt flags
file annotate diff log raw
1.1 --- a/src/drivers/video_gl.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/drivers/video_gl.h Thu Jan 15 04:15:11 2009 +0000
1.3 @@ -49,6 +49,13 @@
1.4 void gl_texture_window( int width, int height, int tex_id, gboolean inverted );
1.5
1.6 /**
1.7 + * Convert window coordinates to dreamcast device coords (640x480) using the
1.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 caller
1.15 * has already set the appropriate glReadBuffer(); in other words, unless
1.16 * there's only one buffer this needs to be wrapped.
.