Skip to content

Commit 303d28e

Browse files
authored
per pixel sky vertexlight.cpp
1 parent 302134b commit 303d28e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

utils/pxrad/vertexlight.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ void BuildVertexLights( int indexnum, int thread = -1 )
262262

263263
// gather direct lighting for our vertex
264264
if( tv->twosided )
265-
GatherSampleLight( thread, -2, point, leaf, normal, light, delux, shadow, styles, vislight, 0, ignoreent );
265+
GatherSampleLight( thread, -2, &point, leaf, normal, light, delux, shadow, styles, vislight, 0, ignoreent );
266266
else
267-
GatherSampleLight( thread, -1, point, leaf, normal, light, delux, shadow, styles, vislight, 0, ignoreent );
267+
GatherSampleLight( thread, -1, &point, leaf, normal, light, delux, shadow, styles, vislight, 0, ignoreent );
268268

269269
// add an ambient term if desired
270270
if( g_ambient[0] || g_ambient[1] || g_ambient[2] )

0 commit comments

Comments
 (0)