H. Verbeet : d3d8: Add GL_ARB_multisample definitions.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 23 05:05:20 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 66770e4ca0a06429d76c557e2a4716b2369b5fc6
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=66770e4ca0a06429d76c557e2a4716b2369b5fc6

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Mon Jan 23 11:26:15 2006 +0100

d3d8: Add GL_ARB_multisample definitions.

---

 dlls/d3d8/d3dcore_gl.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d8/d3dcore_gl.h b/dlls/d3d8/d3dcore_gl.h
index 6bacc5f..31d72ae 100644
--- a/dlls/d3d8/d3dcore_gl.h
+++ b/dlls/d3d8/d3dcore_gl.h
@@ -599,6 +599,21 @@ typedef void (APIENTRY * PGLFNGETCOMBINE
 #define GL_COORD_REPLACE_ARB              0x8862
 #endif
 
+/* GL_ARB_multisample */
+#ifndef GL_ARB_multisample
+#define GL_ARB_multisample 1
+#define GL_MULTISAMPLE_ARB                0x809D
+#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
+#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
+#define GL_SAMPLE_COVERAGE_ARB            0x80A0
+#define GL_SAMPLE_BUFFERS_ARB             0x80A8
+#define GL_SAMPLES_ARB                    0x80A9
+#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
+#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
+#define GL_MULTISAMPLE_BIT_ARB            0x20000000
+#endif
+typedef void (APIENTRY * PGLFNSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
+
 /*******
  * OpenGL Official Version 
  *  defines 




More information about the wine-cvs mailing list