Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
6c648e41
Commit
6c648e41
authored
Feb 08, 2013
by
Felix Paul Kühne
Browse files
vout_ios: use OpenGL ES 2 for rendering
parent
d705a6f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/ios.m
View file @
6c648e41
...
...
@@ -333,7 +333,7 @@ static void OpenglSwap(vlc_gl_t *gl)
kEAGLColorFormatRGBA8
,
kEAGLDrawablePropertyColorFormat
,
nil
];
_context
=
[[
EAGLContext
alloc
]
initWithAPI
:
kEAGLRenderingAPIOpenGLES
1
];
_context
=
[[
EAGLContext
alloc
]
initWithAPI
:
kEAGLRenderingAPIOpenGLES
2
];
NSAssert
(
_context
&&
[
EAGLContext
setCurrentContext
:
_context
],
@"Creating context"
);
// This shouldn't need to be done on the main thread.
...
...
Write
Preview
Supports
Markdown
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