From 25f6565238e08adea723978d81070957acf0ed9c Mon Sep 17 00:00:00 2001 From: manuelk Date: Wed, 20 Nov 2013 18:36:29 -0800 Subject: [PATCH] Fix incorrect capitalization in GL ptexViewer shader.glsl: it's PtexMip*m*apLookup fixes #242 --- examples/ptexViewer/shader.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ptexViewer/shader.glsl b/examples/ptexViewer/shader.glsl index 97b9ab2d..505a1eac 100644 --- a/examples/ptexViewer/shader.glsl +++ b/examples/ptexViewer/shader.glsl @@ -562,7 +562,7 @@ main() // ------------ occlusion --------------- #ifdef USE_PTEX_OCCLUSION - float occ = PtexMipMapLookup(inpt.v.patchCoord, + float occ = PtexMipmapLookup(inpt.v.patchCoord, mipmapBias, textureOcclusion_Data, textureOcclusion_Packing).x; @@ -573,7 +573,7 @@ main() // ------------ specular --------------- #ifdef USE_PTEX_SPECULAR - float specular = PtexMipMapLookup(inpt.v.patchCoord, + float specular = PtexMipmapLookup(inpt.v.patchCoord, mipmapBias, textureSpecular_Data, textureSpecular_Packing).x;