mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
Cleanup some Compiler Warnings
This commit is contained in:
@@ -126,7 +126,7 @@ void pl_shader_append_v(const char *fmt, ...) {
|
||||
Fatal(_("Shaderlenght fault\n"));
|
||||
strcat(shv, temp);
|
||||
}
|
||||
|
||||
#ifndef PLACEBO
|
||||
static void compile_attach_shader(GLuint program, GLenum type, const char *source) {
|
||||
GLuint shader;
|
||||
GLint status = 1234, log_length;
|
||||
@@ -159,6 +159,7 @@ static void link_shader(GLuint program) {
|
||||
Debug(3, "Link Status %d loglen %d\n", status, log_length);
|
||||
}
|
||||
|
||||
|
||||
static GLuint sc_generate_osd(GLuint gl_prog) {
|
||||
|
||||
Debug(3, "vor create osd\n");
|
||||
@@ -209,7 +210,7 @@ static GLuint sc_generate(GLuint gl_prog, enum AVColorSpace colorspace) {
|
||||
int n;
|
||||
GLint cmsLoc;
|
||||
float *m, *c, *cms;
|
||||
char *frag;
|
||||
//char *frag;
|
||||
|
||||
GL_init();
|
||||
GLSL("%s\n", gl_version);
|
||||
@@ -446,3 +447,4 @@ static void render_pass_quad(int flip, float xcrop, float ycrop) {
|
||||
for (n = 0; vertex_vao[n].name; n++)
|
||||
glDisableVertexAttribArray(n);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user