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
abef41a9
Commit
abef41a9
authored
Aug 31, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Update to the latest GL spec.
parent
f061743a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
make_opengl
dlls/opengl32/make_opengl
+12
-2
opengl_ext.c
dlls/opengl32/opengl_ext.c
+0
-0
No files found.
dlls/opengl32/make_opengl
View file @
abef41a9
...
...
@@ -138,6 +138,10 @@ my %debug_conv =
"GLcharARB"
=>
"%c"
,
"GLvoid"
=>
"(void)"
,
"_GLfuncptr"
=>
"%p"
,
"GLDEBUGPROCARB"
=>
"%p"
,
"GLDEBUGPROCAMD"
=>
"%p"
,
"GLvdpauSurfaceNV"
=>
"%ld"
,
"INT64"
=>
"%s,wine_dbgstr_longlong(%s)"
,
"UINT64"
=>
"%s,wine_dbgstr_longlong(%s)"
);
...
...
@@ -186,7 +190,12 @@ sub ConvertType($)
"GLhandleARB"
=>
"unsigned int"
,
"GLcharARB"
=>
"char"
,
"GLchar"
=>
"char"
,
"GLhalfNV"
=>
"unsigned short"
);
"GLhalfNV"
=>
"unsigned short"
,
"GLvdpauSurfaceNV"
=>
"INT_PTR"
,
"struct _cl_context"
=>
"void"
,
"struct _cl_event"
=>
"void"
,
"GLDEBUGPROCARB"
=>
"void *"
,
"GLDEBUGPROCAMD"
=>
"void *"
);
foreach
my
$org
(
reverse
sort
keys
%
hash
)
{
if
(
$type
=~
/$org/
)
{
...
...
@@ -250,7 +259,7 @@ sub GenerateThunk($$$$$)
if
(
$type
=~
/\*/
)
{
$trace_arg
.=
"%p"
;
$trace_call_arg
.=
$name
;
}
els
e
{
}
els
if
(
defined
$debug_conv
{
$type
})
{
if
(
$debug_conv
{
$type
}
=~
/(.*),(.*)/
)
{
$trace_arg
.=
$1
;
...
...
@@ -262,6 +271,7 @@ sub GenerateThunk($$$$$)
$trace_call_arg
.=
$name
;
}
}
else
{
printf
"Unknown type %s\n"
,
$type
;
}
if
(
$i
+
1
<
@
{
$func_ref
->
[
2
]})
{
$ret
.=
", "
;
$call_arg
.=
", "
;
...
...
dlls/opengl32/opengl_ext.c
View file @
abef41a9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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