mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-25 04:16:58 +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.
37 lines
739 B
C
Executable File
37 lines
739 B
C
Executable File
#pragma once
|
|
#include "platform_gl.h"
|
|
|
|
typedef struct {
|
|
GLuint program;
|
|
|
|
GLint a_position_location;
|
|
GLint a_texture_coordinates_location;
|
|
GLint u_mvp_matrix_location;
|
|
GLint u_texture_unit_location;
|
|
GLint u_alpha_loaction;
|
|
} TextureProgram;
|
|
|
|
typedef struct {
|
|
GLuint program;
|
|
|
|
GLint a_position_location;
|
|
GLint u_mvp_matrix_location;
|
|
GLint u_color_location;
|
|
GLint u_alpha_loaction;
|
|
} ColorProgram;
|
|
|
|
typedef struct {
|
|
GLuint program;
|
|
|
|
GLint a_position_location;
|
|
GLint u_mvp_matrix_location;
|
|
GLint a_color_location;
|
|
GLint u_alpha_loaction;
|
|
} GradientProgram;
|
|
|
|
|
|
|
|
|
|
TextureProgram get_texture_program(GLuint program);
|
|
ColorProgram get_color_program(GLuint program);
|
|
GradientProgram get_gradient_program(GLuint program); |