Remove some unused structure fields, add some comments, and ifdef out some
[mesa.git] / src / mesa / drivers / dri / mga / mgadd.c
index e8436f23846ed9c05396e875bfe861bf3a308efa..7310641efa3c4bd83e24570fc4c77305e2e5be27 100644 (file)
@@ -28,6 +28,7 @@
 
 
 #include "mtypes.h"
+#include "framebuffer.h"
 
 #include "mm.h"
 #include "mgacontext.h"
@@ -92,6 +93,6 @@ static void mgaBufferSize(GLframebuffer *buffer, GLuint *width, GLuint *height)
 void mgaInitDriverFuncs( struct dd_function_table *functions )
 {
    functions->GetBufferSize = mgaBufferSize;
-   functions->ResizeBuffers = _swrast_alloc_buffers;
+   functions->ResizeBuffers = _mesa_resize_framebuffer;
    functions->GetString = mgaGetString;
 }