gallium: remove TGSI opcode BREAKC
[mesa.git] / src / gallium / drivers / r300 / r300_screen_buffer.c
index 95ada570e66d9128195e953c0cadcd93357ae07f..4af1c46856e8a80c04a40759c266b4c5972d9b5d 100644 (file)
@@ -111,7 +111,7 @@ r300_buffer_transfer_map( struct pipe_context *context,
 
                 /* We changed the buffer, now we need to bind it where the old one was bound. */
                 for (i = 0; i < r300->nr_vertex_buffers; i++) {
-                    if (r300->vertex_buffer[i].buffer == &rbuf->b.b) {
+                    if (r300->vertex_buffer[i].buffer.resource == &rbuf->b.b) {
                         r300->vertex_arrays_dirty = TRUE;
                         break;
                     }