[Fix] (...): Fix some grammer errors.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
BZLZHH 2025-01-29 13:03:58 +08:00
parent 77ce93c80a
commit 42214fb012
3 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,8 @@
#include "../gl/envvars.h"
#include "../gles/loader.h"
#define DEBUG 0
void init_target_egl() {
LOG_V("Initializing %s @ %s", RENDERERNAME, __FUNCTION__);
EGLDisplay eglDisplay = EGL_NO_DISPLAY;

View File

@ -12,6 +12,8 @@
#include <regex>
#include <strstream>
#define DEBUG 0
char* (*MesaConvertShader)(const char *src, unsigned int type, unsigned int glsl, unsigned int essl);
typedef std::vector<uint32_t> Spirv;

View File

@ -27,6 +27,12 @@ static inline void set_gl_state_##name (GLenum value) { \
gl_state->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 {
GLint maxsize;