From bfdb62d31e511e494e2c10fd91af0e4b95649a22 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 14 Apr 2026 14:13:33 +0500 Subject: [PATCH] engine: ref_api: complete the RefAPI 15 changelog --- engine/ref_api.h | 6 ++++++ ref/gl/gl_draw.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/engine/ref_api.h b/engine/ref_api.h index b32e977a..4567ac7c 100644 --- a/engine/ref_api.h +++ b/engine/ref_api.h @@ -66,6 +66,12 @@ GNU General Public License for more details. // Removed CL_AddCustomBeam, it's now handled through R_AddEntity // 15. Replaced CL_InitStudioAPI with R_StudioFillAPI + R_StudioSetDrawInterface // Engine now builds engine_studio_api_t and handles client DLL negotiation +// Replaced R_DrawStretchRaw and AVI_UploadRawFrame with GL_UpdateTexture +// Added GL_CreateTexture, R_GetDetailScaleForTexture, R_SetDetailScaleForTexture +// Removed R_Flush, VGUI_UploadTextureBlock, R_BeamCull, pfnGetStudioModelInterface +// Moved RenderAPI and TriAPI filling to renderer via R_FillRenderAPI and R_FillTriAPI +// Moved detail textures parsing and cinematic texture management to engine +// Moved creation of default textures to the engine #define REF_API_VERSION 15 #define TF_SKY (TF_SKYSIDE|TF_NOMIPMAP|TF_ALLOW_NEAREST) diff --git a/ref/gl/gl_draw.c b/ref/gl/gl_draw.c index 6307e80b..26974c11 100644 --- a/ref/gl/gl_draw.c +++ b/ref/gl/gl_draw.c @@ -56,8 +56,6 @@ void R_DrawStretchPic( float x, float y, float w, float h, float s1, float t1, f /* ============= GL_UpdateTexture - -Upload raw BGRA pixel data to an existing texture ============= */ void GL_UpdateTexture( int texnum, int cols, int rows, int width, int height, const byte *buffer, pixformat_t fmt )