etnaviv: fix typo
[mesa.git] / src / gallium / drivers / etnaviv / etnaviv_screen.c
index 27c990bbccb51d3ba4795e93cde4a40cebefc6cc..8c80c1e95565284b5b1f22c94c7df9bd13add169 100644 (file)
@@ -380,8 +380,8 @@ gpu_supports_texture_target(struct etna_screen *screen,
 }
 
 static bool
-gpu_supports_texure_format(struct etna_screen *screen, uint32_t fmt,
-                           enum pipe_format format)
+gpu_supports_texture_format(struct etna_screen *screen, uint32_t fmt,
+                            enum pipe_format format)
 {
    bool supported = true;
 
@@ -451,7 +451,7 @@ etna_screen_is_format_supported(struct pipe_screen *pscreen,
    if (usage & PIPE_BIND_SAMPLER_VIEW) {
       uint32_t fmt = translate_texture_format(format);
 
-      if (!gpu_supports_texure_format(screen, fmt, format))
+      if (!gpu_supports_texture_format(screen, fmt, format))
          fmt = ETNA_NO_MATCH;
 
       if (sample_count < 2 && fmt != ETNA_NO_MATCH)