Skip to content

Commit

Permalink
Fix a merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Jan 23, 2024
1 parent 23f2a76 commit 108b9cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/osgEarth/Chonk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1282,11 +1282,6 @@ ChonkDrawable::GLObjects::cull(osg::State& state)
// instances array before computing _numInstances)
unsigned workgroups = (_numInstances + (GPU_CULLING_LOCAL_WG_SIZE-1)) / GPU_CULLING_LOCAL_WG_SIZE;

// calculate number of workgroups.
// (todo: this is probably unnecessary since we already padded the
// instances array before computing _numInstances)
unsigned workgroups = (_numInstances + (GPU_CULLING_LOCAL_WG_SIZE-1)) / GPU_CULLING_LOCAL_WG_SIZE;

// cull:
ext->glUniform1i(ps._passUL, 0);
ext->glDispatchCompute(workgroups, _maxNumLODs, 1);
Expand Down

0 comments on commit 108b9cc

Please sign in to comment.