mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 11:30:51 +00:00
readability
This commit is contained in:
parent
28e9b8ec59
commit
de8105beb4
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ void SetDrawSurfacesBuffer(){
|
|||
|
||||
bspDrawSurfaces = safe_malloc_info( sizeof( bspDrawSurface_t ) * numBSPDrawSurfacesBuffer, "IncDrawSurfaces" );
|
||||
|
||||
memset( bspDrawSurfaces, 0, MAX_MAP_DRAW_SURFS * sizeof( bspDrawSurface_t ) );
|
||||
memset( bspDrawSurfaces, 0, numBSPDrawSurfacesBuffer * sizeof( bspDrawSurface_t ) );
|
||||
}
|
||||
|
||||
void SetDrawSurfaces( int n ){
|
||||
|
@ -126,7 +126,7 @@ void SetDrawSurfaces( int n ){
|
|||
|
||||
bspDrawSurfaces = safe_malloc_info( sizeof( bspDrawSurface_t ) * numBSPDrawSurfacesBuffer, "IncDrawSurfaces" );
|
||||
|
||||
memset( bspDrawSurfaces, 0, n * sizeof( bspDrawSurface_t ) );
|
||||
memset( bspDrawSurfaces, 0, numBSPDrawSurfacesBuffer * sizeof( bspDrawSurface_t ) );
|
||||
}
|
||||
|
||||
void BSPFilesCleanup(){
|
||||
|
|
Loading…
Reference in a new issue