projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c44dc0
)
Fix typo.
author
Carl Hetherington
<cth@carlh.net>
Mon, 3 Jun 2019 22:59:27 +0000
(23:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 3 Jun 2019 22:59:27 +0000
(23:59 +0100)
src/wx/gl_video_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/gl_video_view.cc
b/src/wx/gl_video_view.cc
index c0c71e965df76819cedd495b9a62956c8cc6e92a..a0f83db6d4390dfba4d056d5d4eb13da67048164 100644
(file)
--- a/
src/wx/gl_video_view.cc
+++ b/
src/wx/gl_video_view.cc
@@
-70,7
+70,7
@@
GLVideoView::GLVideoView (FilmViewer* viewer, wxWindow *parent)
#ifdef DCPOMATIC_WINDOWS
if (_canvas->IsExtensionSupported("WGL_EXT_swap_control")) {
/* Enable vsync */
- PFNWGLSWAPINTERVALEXTPROC swap = (PFNWGLSWAPINTERVALEXTPROC) wglGetProc
e
Address("wglSwapIntervalEXT");
+ PFNWGLSWAPINTERVALEXTPROC swap = (PFNWGLSWAPINTERVALEXTPROC) wglGetProcAddress("wglSwapIntervalEXT");
if (swap) {
swap (1);
_vsync_enabled = true;