Delete written-only fields

This commit is contained in:
Chris Sarbora 2024-07-01 01:45:12 -05:00
parent 41a04aedd2
commit 8d26df7b25
No known key found for this signature in database
3 changed files with 0 additions and 8 deletions

View File

@ -410,9 +410,6 @@ struct rendering_state {
wrap_type cur_wrap_type;
float cur_fog_start, cur_fog_end;
float cur_near_z, cur_far_z;
int cur_alpha;
ddgr_color cur_color;
ddgr_color cur_fog_color;

View File

@ -129,8 +129,6 @@ void rend_SetFiltering(int8_t state) {
// Sets the near and far planes for z buffer
void rend_SetZValues(float nearz, float farz) {
gpu_state.cur_near_z = nearz;
gpu_state.cur_far_z = farz;
// mprintf(0,"OPENGL:Setting depth range to %f - %f\n",nearz,farz);
// JEFF: glDepthRange must take parameters [0,1]

View File

@ -1443,9 +1443,6 @@ void rend_SetFogBorders(float nearz, float farz) {
float fogStart = nearz;
float fogEnd = farz;
gpu_state.cur_fog_start = fogStart;
gpu_state.cur_fog_end = fogEnd;
dglFogi(GL_FOG_MODE, GL_LINEAR);
dglFogf(GL_FOG_START, fogStart);
dglFogf(GL_FOG_END, fogEnd);