Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
1b6f1b6a
Commit
1b6f1b6a
authored
Jul 09, 2012
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl: cosmetic
parent
3432901b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/video_output/opengl.c
modules/video_output/opengl.c
+6
-4
No files found.
modules/video_output/opengl.c
View file @
1b6f1b6a
...
...
@@ -330,10 +330,12 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
vgl
->
ShaderSource
=
(
PFNGLSHADERSOURCEPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glShaderSource"
);
vgl
->
CompileShader
=
(
PFNGLCOMPILESHADERPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glCompileShader"
);
vgl
->
AttachShader
=
(
PFNGLATTACHSHADERPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glAttachShader"
);
vgl
->
GetProgramiv
=
(
PFNGLGETPROGRAMIVPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glGetProgramiv"
);
vgl
->
GetProgram
InfoLog
=
(
PFNGLGETPROGRAMINFOLOGPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glGetProgramInfoLog
"
);
vgl
->
GetProgram
iv
=
(
PFNGLGETPROGRAMIVPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glGetProgramiv
"
);
vgl
->
GetShaderiv
=
(
PFNGLGETSHADERIVPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glGetShaderiv"
);
vgl
->
GetProgramInfoLog
=
(
PFNGLGETPROGRAMINFOLOGPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glGetProgramInfoLog"
);
vgl
->
GetShaderInfoLog
=
(
PFNGLGETSHADERINFOLOGPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glGetShaderInfoLog"
);
vgl
->
DetachShader
=
(
PFNGLDETACHSHADERPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glDetachShader"
);
vgl
->
DeleteShader
=
(
PFNGLDELETESHADERPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glDeleteShader"
);
...
...
@@ -345,8 +347,8 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
vgl
->
Uniform1i
=
(
PFNGLUNIFORM1IPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glUniform1i"
);
vgl
->
CreateProgram
=
(
PFNGLCREATEPROGRAMPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glCreateProgram"
);
vgl
->
LinkProgram
=
(
PFNGLLINKPROGRAMPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glLinkProgram"
);
vgl
->
UseProgram
=
(
PFNGLUSEPROGRAMPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glUseProgram"
);
vgl
->
LinkProgram
=
(
PFNGLLINKPROGRAMPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glLinkProgram"
);
vgl
->
UseProgram
=
(
PFNGLUSEPROGRAMPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glUseProgram"
);
vgl
->
DeleteProgram
=
(
PFNGLDELETEPROGRAMPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glDeleteProgram"
);
vgl
->
ActiveTexture
=
(
PFNGLACTIVETEXTUREPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glActiveTexture"
);
vgl
->
ClientActiveTexture
=
(
PFNGLCLIENTACTIVETEXTUREPROC
)
vlc_gl_GetProcAddress
(
vgl
->
gl
,
"glClientActiveTexture"
);
...
...
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