Fix Visual Studio C4334 warning

This commit is contained in:
Rémi Verschelde 2020-05-18 15:21:26 +02:00
parent c2eea4bde0
commit e6a3499bef
1 changed files with 1 additions and 1 deletions

View File

@ -2333,7 +2333,7 @@ bool RasterizerCanvasGLES2::try_join_item(Item *p_ci, RenderItemState &r_ris, bo
int light_count = -1;
while (light) {
light_count++;
uint64_t light_bit = 1 << light_count;
uint64_t light_bit = 1ULL << light_count;
// note that as a cost of batching, the light culling will be less effective
if (p_ci->light_mask & light->item_mask && r_ris.item_group_z >= light->z_min && r_ris.item_group_z <= light->z_max) {