mcst-linux-kernel/patches-2024.06.26/gl4es-1.1.4/0163-Exported-a-few-missing...

36 lines
1.4 KiB
Diff

From 0e6e63168ebea02678ff6039607a01301830e9cb Mon Sep 17 00:00:00 2001
From: ptitSeb <sebastien.chev@gmail.com>
Date: Sat, 24 Jul 2021 09:16:08 +0200
Subject: [PATCH 163/233] Exported a few missing functions
---
src/gl/depth.c | 1 +
src/gl/program.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/gl/depth.c b/src/gl/depth.c
index 3cf59734..84298216 100644
--- a/src/gl/depth.c
+++ b/src/gl/depth.c
@@ -68,4 +68,5 @@ void APIENTRY_GL4ES gl4es_glClearDepthf(GLclampf depth) {
AliasExport(void,glDepthFunc,,(GLenum func));
AliasExport(void,glDepthMask,,(GLboolean flag));
AliasExport(void,glDepthRangef,,(GLclampf nearVal, GLclampf farVal));
+AliasExport(void,glClearDepthf,,(GLclampf depth));
diff --git a/src/gl/program.c b/src/gl/program.c
index 2114dcbe..5b6c7fff 100644
--- a/src/gl/program.c
+++ b/src/gl/program.c
@@ -860,6 +860,7 @@ AliasExport(GLboolean,glIsProgram,,(GLuint program));
AliasExport(void,glLinkProgram,,(GLuint program));
AliasExport(void,glUseProgram,,(GLuint program));
AliasExport(void,glValidateProgram,,(GLuint program));
+AliasExport(void,glGetProgramInfoLog,,(GLuint program, GLsizei maxLength, GLsizei *length, GLchar *infoLog));
AliasExport(void,glGetProgramBinary,,(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary));
AliasExport(void,glProgramBinary,,(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length));
--
2.11.0