Browse Source

ref: remove unused GL_BuildLightmaps export

pull/2/head
Alibek Omarov 6 years ago
parent
commit
2d968cf328
  1. 2
      engine/ref_api.h
  2. 1
      ref_gl/gl_context.c

2
engine/ref_api.h

@ -575,8 +575,6 @@ typedef struct ref_interface_s
// passed through R_RenderFrame (0 - use engine renderer, 1 - use custom client renderer) // passed through R_RenderFrame (0 - use engine renderer, 1 - use custom client renderer)
int (*GL_RenderFrame)( const struct ref_viewpass_s *rvp ); int (*GL_RenderFrame)( const struct ref_viewpass_s *rvp );
// build all the lightmaps on new level or when gamma is changed
void (*GL_BuildLightmaps)( void );
// setup map bounds for ortho-projection when we in dev_overview mode // setup map bounds for ortho-projection when we in dev_overview mode
void (*GL_OrthoBounds)( const float *mins, const float *maxs ); void (*GL_OrthoBounds)( const float *mins, const float *maxs );
// grab r_speeds message // grab r_speeds message

1
ref_gl/gl_context.c

@ -495,7 +495,6 @@ ref_interface_t gReffuncs =
R_StudioGetTexture, R_StudioGetTexture,
R_RenderFrame, R_RenderFrame,
GL_BuildLightmaps,
Mod_SetOrthoBounds, Mod_SetOrthoBounds,
R_SpeedsMessage, R_SpeedsMessage,
Mod_GetCurrentVis, Mod_GetCurrentVis,

Loading…
Cancel
Save