Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
27f87ca2
Commit
27f87ca2
authored
Jan 31, 2005
by
Troy Rollo
Committed by
Alexandre Julliard
Jan 31, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stubs for wglSwapIntervalEXT & wglGetSwapIntervalEXT.
parent
26771be4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
wgl_ext.c
dlls/opengl32/wgl_ext.c
+23
-1
No files found.
dlls/opengl32/wgl_ext.c
View file @
27f87ca2
...
...
@@ -66,6 +66,26 @@ const char * WINAPI wglGetExtensionsStringARB(HDC hdc) {
return
WGL_extensions
;
}
static
int
swap_interval
=
1
;
/***********************************************************************
* wglSwapIntervalEXT(OPENGL32.@)
*/
BOOL
WINAPI
wglSwapIntervalEXT
(
int
interval
)
{
FIXME
(
"(%d),stub!
\n
"
,
interval
);
swap_interval
=
interval
;
return
TRUE
;
}
/***********************************************************************
* wglGetSwapIntervalEXT(OPENGL32.@)
*/
int
WINAPI
wglGetSwapIntervalEXT
(
VOID
)
{
FIXME
(
"(),stub!
\n
"
);
return
swap_interval
;
}
static
const
struct
{
const
char
*
name
;
BOOL
(
*
query_function
)(
const
char
*
gl_version
,
const
char
*
gl_extensions
,
const
char
*
glx_extensions
,
...
...
@@ -126,6 +146,8 @@ void wgl_ext_finalize_extensions(void)
/* Putting this at the end to prevent having to write the prototypes :-) */
WGL_extension
wgl_extension_registry
[]
=
{
{
"wglGetExtensionsStringARB"
,
(
void
*
)
wglGetExtensionsStringARB
,
NULL
,
NULL
},
{
"wglGetExtensionsStringEXT"
,
(
void
*
)
wglGetExtensionsStringEXT
,
NULL
,
NULL
}
{
"wglGetExtensionsStringEXT"
,
(
void
*
)
wglGetExtensionsStringEXT
,
NULL
,
NULL
},
{
"wglGetSwapIntervalEXT"
,
(
void
*
)
wglSwapIntervalEXT
,
NULL
,
NULL
},
{
"wglSwapIntervalEXT"
,
(
void
*
)
wglSwapIntervalEXT
,
NULL
,
NULL
}
};
int
wgl_extension_registry_size
=
sizeof
(
wgl_extension_registry
)
/
sizeof
(
wgl_extension_registry
[
0
]);
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