Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
VReaperV committed Sep 9, 2024
1 parent 9bc80b3 commit ad26d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/renderer/Material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void UpdateSurfaceDataLightMapping( uint32_t* materials, Material& material, dra

lightMode_t lightMode;
deluxeMode_t deluxeMode;
SetLightDeluxeMode( drawSurf, material.stageType, lightMode, deluxeMode );
SetLightDeluxeMode( drawSurf, pStage->type, lightMode, deluxeMode );

// u_Map, u_DeluxeMap
image_t* lightmap = SetLightMap( drawSurf, lightMode );
Expand Down

0 comments on commit ad26d71

Please sign in to comment.