mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-23 08:47:20 +00:00
git-subtree-dir: submodules/TelegramUI git-subtree-mainline: 5c1613d1048026b9e00a6ce753775cef87eb53fa git-subtree-split: fa3ac0b61a27c8dd3296518a15891a6f9750cbf2
11 lines
506 B
C
Executable File
11 lines
506 B
C
Executable File
#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);
|