gallium/tests: use pipe_context::bind_sampler_states()
[mesa.git] / src / gallium / tests / graw / vs-test.c
index 5a7d0a00eeee038c673e83af730eab5defbd5aa3..f351928592b7705ead17a7b03f546d9e896e96a9 100644 (file)
@@ -365,7 +365,7 @@ static void init_tex( void )
    if (sampler == NULL)
       exit(6);
 
-   ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
+   ctx->bind_sampler_states(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sampler);
    
 }