Skip to content
Snippets Groups Projects
Commit 4556c3e0 authored by David E. DeMarle's avatar David E. DeMarle
Browse files

Take advantage of zero copy textures in ospray.

parent 54312bc7
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ osp::Texture2D *vtkOSPRayMaterialHelpers::VTKToOSPTexture
ysize+1},
ospformat,
obuffer,
OSP_TEXTURE_FILTER_NEAREST);
OSP_TEXTURE_FILTER_NEAREST|OSP_TEXTURE_SHARED_BUFFER);
ospCommit(t2d);
if (incompatible)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment