Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fdc1f2d4
Commit
fdc1f2d4
authored
Nov 07, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Avoid using the system GL headers.
parent
70e536f4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
18 deletions
+5
-18
Makefile.in
dlls/opengl32/Makefile.in
+0
-1
make_opengl
dlls/opengl32/make_opengl
+2
-1
opengl_ext.c
dlls/opengl32/opengl_ext.c
+1
-0
opengl_ext.h
dlls/opengl32/opengl_ext.h
+1
-15
opengl_norm.c
dlls/opengl32/opengl_norm.c
+1
-1
No files found.
dlls/opengl32/Makefile.in
View file @
fdc1f2d4
MODULE
=
opengl32.dll
IMPORTLIB
=
opengl32
IMPORTS
=
user32 gdi32 advapi32
EXTRAINCL
=
@X_CFLAGS@
C_SRCS
=
\
opengl_ext.c
\
...
...
dlls/opengl32/make_opengl
View file @
fdc1f2d4
...
...
@@ -945,9 +945,9 @@ print NORM "
#include \"config.h\"
#include <stdarg.h>
#include \"opengl_ext.h\"
#include \"winternl.h\"
#include \"wingdi.h\"
#include \"wine/wgl.h\"
#include \"wine/wgl_driver.h\"
#include \"wine/debug.h\"
...
...
@@ -991,6 +991,7 @@ print EXT "
#include \"opengl_ext.h\"
#include \"winternl.h\"
#include \"wingdi.h\"
#include \"wine/wgl.h\"
#define WGL_WGLEXT_PROTOTYPES
#include \"wine/wglext.h\"
#include \"wine/wgl_driver.h\"
...
...
dlls/opengl32/opengl_ext.c
View file @
fdc1f2d4
...
...
@@ -6,6 +6,7 @@
#include "opengl_ext.h"
#include "winternl.h"
#include "wingdi.h"
#include "wine/wgl.h"
#define WGL_WGLEXT_PROTOTYPES
#include "wine/wglext.h"
#include "wine/wgl_driver.h"
...
...
dlls/opengl32/opengl_ext.h
View file @
fdc1f2d4
...
...
@@ -19,22 +19,8 @@
#ifndef __DLLS_OPENGL32_OPENGL_EXT_H
#define __DLLS_OPENGL32_OPENGL_EXT_H
#define XMD_H
/* This is to prevent the Xmd.h inclusion bug :-/ */
#include <GL/gl.h>
#undef XMD_H
#undef APIENTRY
#undef CALLBACK
#undef GLAPI
#undef WINAPI
#undef WINGDIAPI
/* Redefines the constants */
#define CALLBACK __stdcall
#define WINAPI __stdcall
#define APIENTRY WINAPI
#include "windef.h"
#include "wine/wgl.h"
typedef
struct
{
const
char
*
name
;
/* name of the extension */
...
...
dlls/opengl32/opengl_norm.c
View file @
fdc1f2d4
...
...
@@ -3,9 +3,9 @@
#include "config.h"
#include <stdarg.h>
#include "opengl_ext.h"
#include "winternl.h"
#include "wingdi.h"
#include "wine/wgl.h"
#include "wine/wgl_driver.h"
#include "wine/debug.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment