mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +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" );
|
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 ){
|
void SetDrawSurfaces( int n ){
|
||||||
|
@ -126,7 +126,7 @@ void SetDrawSurfaces( int n ){
|
||||||
|
|
||||||
bspDrawSurfaces = safe_malloc_info( sizeof( bspDrawSurface_t ) * numBSPDrawSurfacesBuffer, "IncDrawSurfaces" );
|
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(){
|
void BSPFilesCleanup(){
|
||||||
|
|
Loading…
Reference in a new issue