clarify _skybox surfaces processing

This commit is contained in:
Garux
2025-10-28 17:07:52 +05:00
parent 1afbbf36fe
commit 337f10d7a1
+2 -2
View File
@@ -3089,7 +3089,7 @@ void FilterDrawsurfsIntoTree( entity_t& e, tree_t& tree ){
/* get shader */
shaderInfo_t *si = ds.shaderInfo;
/* ydnar: skybox surfaces are special */
/* ydnar: skybox surfaces are special */ /* these are ones generated by MakeSkyboxSurface() */
if ( ds.skybox ) {
refs = AddReferenceToTree_r( ds, tree.headnode, true );
ds.skybox = false;
@@ -3257,7 +3257,7 @@ void FilterDrawsurfsIntoTree( entity_t& e, tree_t& tree ){
}
}
/* ydnar: handle skybox surfaces */
/* ydnar: handle skybox surfaces */ /* these are ones found in _skybox area */
if ( ds.skybox ) {
MakeSkyboxSurface( ds );
numSkyboxSurfaces++;