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
268070d9
Commit
268070d9
authored
Nov 03, 2015
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Avoid double initialization of variables in WGL functions.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6479e32c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wgl.c
dlls/opengl32/wgl.c
+3
-3
No files found.
dlls/opengl32/wgl.c
View file @
268070d9
...
...
@@ -1057,7 +1057,7 @@ BOOL WINAPI wglGetPixelFormatAttribfvARB( HDC hdc, int format, int layer, UINT c
*/
HPBUFFERARB
WINAPI
wglCreatePbufferARB
(
HDC
hdc
,
int
format
,
int
width
,
int
height
,
const
int
*
attribs
)
{
HPBUFFERARB
ret
=
0
;
HPBUFFERARB
ret
;
struct
wgl_pbuffer
*
pbuffer
;
struct
opengl_funcs
*
funcs
=
get_dc_funcs
(
hdc
);
...
...
@@ -1749,7 +1749,7 @@ GLint WINAPI glDebugEntry( GLint unknown1, GLint unknown2 )
static
GLubyte
*
filter_extensions_list
(
const
char
*
extensions
,
const
char
*
disabled
)
{
char
*
p
,
*
str
=
NULL
;
char
*
p
,
*
str
;
const
char
*
end
;
p
=
str
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
extensions
)
+
2
);
...
...
@@ -1785,7 +1785,7 @@ static GLuint *filter_extensions_index(const char *disabled)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
const
char
*
ext
,
*
end
,
*
gl_ext
;
GLuint
*
disabled_exts
=
NULL
,
*
new_disabled_exts
;
GLuint
*
disabled_exts
,
*
new_disabled_exts
;
unsigned
int
i
=
0
,
j
,
disabled_size
;
GLint
extensions_count
;
...
...
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