Fix T98365: Overlay: Blender 3.2.0 Beta crashes on startup
This was caused by a wrong mass rename on a piece of code used only on older hardware.
This commit is contained in:
@@ -36,7 +36,7 @@ bvec4 gather_edges(vec2 uv, uint ref)
|
||||
#ifdef GPU_ARB_texture_gather
|
||||
ids = textureGather(outlineId, uv);
|
||||
#else
|
||||
vec3 ofs = vec3(0.5, 0.5, -0.5) * drw_view.viewport_size_inversey;
|
||||
vec3 ofs = vec3(0.5, 0.5, -0.5) * drw_view.viewport_size_inverse.xyy;
|
||||
ids.x = textureLod(outlineId, uv - ofs.xz, 0.0).r;
|
||||
ids.y = textureLod(outlineId, uv + ofs.xy, 0.0).r;
|
||||
ids.z = textureLod(outlineId, uv + ofs.xz, 0.0).r;
|
||||
|
||||
Reference in New Issue
Block a user