[gl] extracted some common GPU rendering code (empty impls)

This commit is contained in:
Edu García
2024-05-08 17:47:21 +01:00
parent 9f1b55162d
commit 7c362288ad
3 changed files with 17 additions and 21 deletions

View File

@@ -2990,9 +2990,6 @@ void rend_SetFrameBufferCopyState(bool state) {
}
}
// Changes the resolution of the renderer
void rend_SetResolution(int width, int height) {}
// Gets OpenGL ready to work in a window
int rend_InitOpenGLWindow(oeApplication *app, renderer_preferred_state *pref_state) {
WindowGL = 1;
@@ -3018,21 +3015,6 @@ void rend_SetCoplanarPolygonOffset(float factor) {
}
}
// Preuploads a texture to the video card
void rend_PreUploadTextureToCard(int handle, int map_type) {}
// Frees an uploaded texture from the video card
void rend_FreePreUploadedTexture(int handle, int map_type) {}
// Returns 1 if there is mid video memory, 2 if there is low vid memory, or 0 if there is large vid memory
int rend_LowVidMem(void) { return 0; }
// Returns 1 if the renderer supports bumpmapping
int rend_SupportsBumpmapping(void) { return 0; }
// Sets a bumpmap to be rendered, or turns off bumpmapping altogether
void rend_SetBumpmapReadyState(int state, int map) {}
// returns the direct draw object
void *rend_RetrieveDirectDrawObj(void **frontsurf, void **backsurf) {
*frontsurf = NULL;