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
f784360c
Commit
f784360c
authored
Jul 08, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jul 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32/tests: Include wgl.h and remove duplicate declarations.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fb45a20b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
22 deletions
+3
-22
opengl.c
dlls/opengl32/tests/opengl.c
+3
-22
No files found.
dlls/opengl32/tests/opengl.c
View file @
f784360c
...
@@ -21,38 +21,19 @@
...
@@ -21,38 +21,19 @@
#include <windows.h>
#include <windows.h>
#include <wingdi.h>
#include <wingdi.h>
#include "wine/test.h"
#include "wine/test.h"
#include "wine/wgl.h"
void
WINAPI
glClearColor
(
float
red
,
float
green
,
float
blue
,
float
alpha
);
void
WINAPI
glClear
(
unsigned
int
mask
);
#define GL_COLOR 0x1800
typedef
unsigned
int
GLenum
;
typedef
int
GLint
;
void
WINAPI
glCopyPixels
(
int
x
,
int
y
,
int
width
,
int
height
,
GLenum
type
);
void
WINAPI
glFinish
(
void
);
#define GL_NO_ERROR 0x0
#define GL_INVALID_OPERATION 0x502
GLenum
WINAPI
glGetError
(
void
);
#define GL_COLOR_BUFFER_BIT 0x00004000
const
unsigned
char
*
WINAPI
glGetString
(
unsigned
int
);
#define GL_VENDOR 0x1F00
#define GL_RENDERER 0x1F01
#define GL_VERSION 0x1F02
#define GL_EXTENSIONS 0x1F03
#define GL_VIEWPORT 0x0ba2
void
WINAPI
glGetIntegerv
(
GLenum
pname
,
GLint
*
params
);
#define MAX_FORMATS 256
#define MAX_FORMATS 256
typedef
void
*
HPBUFFERARB
;
typedef
void
*
HPBUFFERARB
;
/* WGL_ARB_create_context */
/* WGL_ARB_create_context */
static
HGLRC
(
WINAPI
*
pwglCreateContextAttribsARB
)(
HDC
hDC
,
HGLRC
hShareContext
,
const
int
*
attribList
);
static
HGLRC
(
WINAPI
*
pwglCreateContextAttribsARB
)(
HDC
hDC
,
HGLRC
hShareContext
,
const
int
*
attribList
);
/* GetLastError */
#define ERROR_INVALID_VERSION_ARB 0x2095
#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
#define WGL_CONTEXT_FLAGS_ARB 0x2094
#define WGL_CONTEXT_FLAGS_ARB 0x2094
/* Flags for WGL_CONTEXT_FLAGS_ARB */
/* Flags for WGL_CONTEXT_FLAGS_ARB */
#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
...
...
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