mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-28 22:17:46 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
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);
|