ddraw/tests: Rewrite StructSizeTest().
[wine.git] / dlls / opengl32 / opengl_ext.h
blob4f1791a643665e8e9960a990cef6c074a95fd90e
1 /* Typedefs for extensions loading
3 Copyright (c) 2000 Lionel Ulmer
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __DLLS_OPENGL32_OPENGL_EXT_H
20 #define __DLLS_OPENGL32_OPENGL_EXT_H
22 #include "windef.h"
23 #include "wine/wgl.h"
25 typedef struct {
26 const char *name; /* name of the extension */
27 const char *extension; /* name of the GL/WGL extension */
28 void *func; /* pointer to the Wine function for this extension */
29 } OpenGL_extension;
31 extern const OpenGL_extension extension_registry[] DECLSPEC_HIDDEN;
32 extern const int extension_registry_size DECLSPEC_HIDDEN;
34 extern BOOL WINAPI wglSetPixelFormatWINE( HDC hdc, int format ) DECLSPEC_HIDDEN;
35 extern BOOL WINAPI wglQueryCurrentRendererIntegerWINE( GLenum attribute, GLuint *value ) DECLSPEC_HIDDEN;
36 extern const GLchar * WINAPI wglQueryCurrentRendererStringWINE( GLenum attribute );
37 extern BOOL WINAPI wglQueryRendererIntegerWINE( HDC dc, GLint renderer,
38 GLenum attribute, GLuint *value ) DECLSPEC_HIDDEN;
39 extern const GLchar * WINAPI wglQueryRendererStringWINE( HDC dc, GLint renderer, GLenum attribute ) DECLSPEC_HIDDEN;
41 #endif /* __DLLS_OPENGL32_OPENGL_EXT_H */