WIN32_THREADS -> WIN32
[mesa.git] / src / gallium / state_trackers / wgl / stw_wgl.h
index a98179944aa297b931eb566091468efa1e3d39a0..57baaf0a11fcddb4edb0ac82a546687f0231bea8 100644 (file)
@@ -59,5 +59,21 @@ wglSetPixelFormat(HDC hdc,
                   int iPixelFormat,
                   CONST PIXELFORMATDESCRIPTOR *ppfd);
 
+#if defined(__MINGW32__) || (WINVER < 0x0500)
+
+typedef struct _WGLSWAP
+{
+   HDC hdc;
+   UINT uiFlags;
+} WGLSWAP;
+
+#define WGL_SWAPMULTIPLE_MAX 16
+
+WINGDIAPI DWORD WINAPI
+wglSwapMultipleBuffers(UINT n,
+                       CONST WGLSWAP *ps);
+
+#endif
+
 
 #endif /* STW_WGL_H_ */