mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
no message
This commit is contained in:
10
third-party/RMIntro/core/shader.h
vendored
Executable file
10
third-party/RMIntro/core/shader.h
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
#include "platform_gl.h"
|
||||
|
||||
GLuint compile_shader(const GLenum type, const GLchar* source, const GLint length);
|
||||
GLuint link_program(const GLuint vertex_shader, const GLuint fragment_shader);
|
||||
GLuint build_program(
|
||||
const GLchar * vertex_shader_source, const GLint vertex_shader_source_length,
|
||||
const GLchar * fragment_shader_source, const GLint fragment_shader_source_length);
|
||||
|
||||
/* Should be called just before using a program to draw, if validation is needed. */
|
||||
GLint validate_program(const GLuint program);
|
||||
Reference in New Issue
Block a user