Skip to content

Commit

Permalink
linux/clgl: Reset contextData in finalizeProperties
Browse files Browse the repository at this point in the history
This seems to be re-used and the windows equivalent resets it after
finalize.

Signed-off-by: Sylvain Munaut <[email protected]>
  • Loading branch information
smunaut committed Oct 2, 2023
1 parent 93d1741 commit 270bd09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opencl/source/sharings/gl/linux/lin_enable_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ bool GlSharingContextBuilder::finalizeProperties(Context &context, int32_t &errc
nullptr, contextData->glHDCHandle));
}

contextData.reset(nullptr);
return true;
}

Expand Down

0 comments on commit 270bd09

Please sign in to comment.