aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-02-04 02:43:27 +0000
committerBrian Paul <[email protected]>2003-02-04 02:43:27 +0000
commit398c6b7980ac52ba15af78f45e71f49f33ded1aa (patch)
tree3e93472cfbe4de6c5478bf5c8bdc39f3f685e7d7 /include
parent657a9d64d74d987af0d6c9c847af98cc65d9d76e (diff)
DOS updates (Daniel Borca)
Diffstat (limited to 'include')
-rw-r--r--include/GL/dmesa.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/include/GL/dmesa.h b/include/GL/dmesa.h
index 7e46ff2e2f9..16f6bff88c1 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