mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: ref_api: complete the RefAPI 15 changelog
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user