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 )