Commit c5eac697 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Treat external textures as 2D (thank you ezequielg)

parent 4eb2c10c
......@@ -1393,6 +1393,7 @@ midgard_tex_format(enum glsl_sampler_dim dim)
{
switch (dim) {
case GLSL_SAMPLER_DIM_2D:
case GLSL_SAMPLER_DIM_EXTERNAL:
return TEXTURE_2D;
case GLSL_SAMPLER_DIM_3D:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment