mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-24 19:52:49 -04:00
[Fix] (...): Fix some grammer errors.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
parent
77ce93c80a
commit
42214fb012
@ -10,6 +10,8 @@
|
|||||||
#include "../gl/envvars.h"
|
#include "../gl/envvars.h"
|
||||||
#include "../gles/loader.h"
|
#include "../gles/loader.h"
|
||||||
|
|
||||||
|
#define DEBUG 0
|
||||||
|
|
||||||
void init_target_egl() {
|
void init_target_egl() {
|
||||||
LOG_V("Initializing %s @ %s", RENDERERNAME, __FUNCTION__);
|
LOG_V("Initializing %s @ %s", RENDERERNAME, __FUNCTION__);
|
||||||
EGLDisplay eglDisplay = EGL_NO_DISPLAY;
|
EGLDisplay eglDisplay = EGL_NO_DISPLAY;
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
#include <regex>
|
#include <regex>
|
||||||
#include <strstream>
|
#include <strstream>
|
||||||
|
|
||||||
|
#define DEBUG 0
|
||||||
|
|
||||||
char* (*MesaConvertShader)(const char *src, unsigned int type, unsigned int glsl, unsigned int essl);
|
char* (*MesaConvertShader)(const char *src, unsigned int type, unsigned int glsl, unsigned int essl);
|
||||||
|
|
||||||
typedef std::vector<uint32_t> Spirv;
|
typedef std::vector<uint32_t> Spirv;
|
||||||
|
@ -27,6 +27,12 @@ static inline void set_gl_state_##name (GLenum value) { \
|
|||||||
gl_state->name=value; \
|
gl_state->name=value; \
|
||||||
LOG_D(" -> gl_state: %s is %d",#name,value); \
|
LOG_D(" -> gl_state: %s is %d",#name,value); \
|
||||||
}
|
}
|
||||||
|
#define FUNC_GL_STATE_SIZEI_DECLARATION(name) static inline void set_gl_state_##name (GLsizei value);
|
||||||
|
#define FUNC_GL_STATE_ENUM_DECLARATION(name) static inline void set_gl_state_##name (GLenum value);
|
||||||
|
|
||||||
|
FUNC_GL_STATE_SIZEI_DECLARATION(proxy_width)
|
||||||
|
FUNC_GL_STATE_SIZEI_DECLARATION(proxy_height)
|
||||||
|
FUNC_GL_STATE_ENUM_DECLARATION(proxy_intformat)
|
||||||
|
|
||||||
struct hard_ext_s {
|
struct hard_ext_s {
|
||||||
GLint maxsize;
|
GLint maxsize;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user