Player controls UI changes

WIP on controls

Chapters

working

Add previews variable

Add lists ids

WIP
This commit is contained in:
Arkadiusz Fal
2022-06-18 14:39:49 +02:00
parent 9c98cf9558
commit 321c265a11
60 changed files with 2524 additions and 1320 deletions

View File

@@ -11,7 +11,7 @@ final class MPVOGLView: GLKView {
var needsDrawing = true
override init(frame: CGRect) {
guard let context = EAGLContext(api: .openGLES3) else {
guard let context = EAGLContext(api: .openGLES2) else {
print("Failed to initialize OpenGLES 2.0 context")
exit(1)
}
@@ -20,10 +20,12 @@ final class MPVOGLView: GLKView {
super.init(frame: frame, context: context)
EAGLContext.setCurrent(context)
self.context = context
bindDrawable()
defaultFBO = -1
isOpaque = false
isOpaque = true
enableSetNeedsDisplay = false
fillBlack()
}