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
46c7acad
Commit
46c7acad
authored
Jan 15, 2014
by
Ken Thomases
Committed by
Alexandre Julliard
Jan 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Fix Perl compilation errors in make_opengl script.
parent
2b8e900a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
make_opengl
dlls/opengl32/make_opengl
+6
-6
No files found.
dlls/opengl32/make_opengl
View file @
46c7acad
...
...
@@ -609,7 +609,7 @@ sub parse_variable($)
my
$pnamebefore
=
''
;
my
$pnameafter
=
''
;
while
(
my
(
$k
,
$v
)
=
each
(
$p
)){
while
(
my
(
$k
,
$v
)
=
each
(
%
$p
)){
if
(
$k
eq
'ptype'
)
{
$ptype
=
$
{
$v
}[
0
];
}
elsif
(
$k
eq
'name'
)
{
...
...
@@ -643,7 +643,7 @@ sub parse_file($$)
my
$ret
=
''
;
my
$params
=
[]
;
my
@alias
=
''
;
while
(
my
(
$k
,
$v
)
=
each
(
$command
)){
while
(
my
(
$k
,
$v
)
=
each
(
%
$command
)){
if
(
$k
eq
'param'
)
{
push
(
@$params
,
parse_variable
(
$_
))
for
(
@
{
$v
});
}
elsif
(
$k
eq
'proto'
)
{
...
...
@@ -657,7 +657,7 @@ sub parse_file($$)
if
(
$generate_enums
)
{
for
my
$enum
(
@
{
$data
->
{
'enums'
}}
)
{
if
(
ref
(
$enum
->
{
'enum'
})
eq
"HASH"
)
{
while
(
my
(
$k
,
$v
)
=
each
(
$enum
->
{
'enum'
})){
while
(
my
(
$k
,
$v
)
=
each
(
%
{
$enum
->
{
'enum'
}
})){
$enums
{
$k
}
=
$v
->
{
'value'
};
}
}
...
...
@@ -665,7 +665,7 @@ sub parse_file($$)
}
# generate norm functions
while
(
my
(
$k
,
$v
)
=
each
(
$data
->
{
feature
}))
{
while
(
my
(
$k
,
$v
)
=
each
(
%
{
$data
->
{
feature
}
}))
{
if
(
$norm_categories
{
$k
})
{
for
my
$req
(
@
{
$v
->
{
require
}})
{
for
(
keys
%
{
$req
->
{
command
}})
{
...
...
@@ -676,7 +676,7 @@ sub parse_file($$)
}
# generate extension functions from norm functions, if they are newer than the category
while
(
my
(
$k
,
$v
)
=
each
(
$data
->
{
feature
}))
{
while
(
my
(
$k
,
$v
)
=
each
(
%
{
$data
->
{
feature
}
}))
{
if
(
!
$norm_categories
{
$k
}
&&
$v
->
{
api
}
=~
/^gl(\||$)/
)
{
for
my
$req
(
@
{
$v
->
{
require
}})
{
...
...
@@ -690,7 +690,7 @@ sub parse_file($$)
}
# generate extension functions
while
(
my
(
$k
,
$v
)
=
each
(
$
{
$data
->
{
extensions
}}[
0
]
->
{
extension
}))
{
while
(
my
(
$k
,
$v
)
=
each
(
%
{
$
{
$data
->
{
extensions
}}[
0
]
->
{
extension
}
}))
{
if
(
$v
->
{
supported
}
=~
/^gl(\||$)/
)
{
for
my
$req
(
@
{
$v
->
{
require
}})
{
if
(
!
defined
$req
->
{
api
}
||
$req
->
{
api
}
=~
/^gl(\||$)/
)
{
...
...
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