From 398c6b7980ac52ba15af78f45e71f49f33ded1aa Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 4 Feb 2003 02:43:27 +0000 Subject: DOS updates (Daniel Borca) --- include/GL/dmesa.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/GL/dmesa.h b/include/GL/dmesa.h index 7e46ff2e2f..16f6bff88c 100644 --- a/include/GL/dmesa.h +++ b/include/GL/dmesa.h @@ -119,17 +119,24 @@ void DMesaSwapBuffers (DMesaBuffer b); /* - * Move/Resize Buffer. + * Move/Resize current Buffer. */ -GLboolean DMesaViewport (DMesaBuffer b, - GLint xpos, GLint ypos, - GLint width, GLint height); +GLboolean DMesaMoveBuffer (GLint xpos, GLint ypos); +GLboolean DMesaResizeBuffer (GLint width, GLint height); /* - * Set CI color using normalized values. + * Set palette index, using normalized values. */ void DMesaSetCI (int ndx, GLfloat red, GLfloat green, GLfloat blue); +/* + * DMesa state retrieval. + */ +#define DMESA_Y_ORIGIN 0x0100 +#define DMESA_SCREEN_SIZE 0x0101 +#define DMESA_ARGB_ORDER 0x0200 +void DMesaGetIntegerv (GLenum pname, GLint *params); + #ifdef __cplusplus } #endif -- cgit v1.2.3