projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a23d4
)
mesa: use _mesa_readpixels() as default driver hook
author
Brian Paul
<brianp@vmware.com>
Sat, 12 Nov 2011 18:50:31 +0000
(11:50 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 15 Nov 2011 14:49:26 +0000
(07:49 -0700)
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/driverfuncs.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/driverfuncs.c
b/src/mesa/drivers/common/driverfuncs.c
index
27ea559
..
5e25d7f
100644
(file)
--- a/
src/mesa/drivers/common/driverfuncs.c
+++ b/
src/mesa/drivers/common/driverfuncs.c
@@
-30,6
+30,7
@@
#include "main/framebuffer.h"
#include "main/mipmap.h"
#include "main/queryobj.h"
+#include "main/readpix.h"
#include "main/renderbuffer.h"
#include "main/shaderobj.h"
#include "main/texcompress.h"
@@
-82,7
+83,7
@@
_mesa_init_driver_functions(struct dd_function_table *driver)
driver->Accum = _swrast_Accum;
driver->RasterPos = _tnl_RasterPos;
driver->DrawPixels = _swrast_DrawPixels;
- driver->ReadPixels = _
swrast_ReadP
ixels;
+ driver->ReadPixels = _
mesa_readp
ixels;
driver->CopyPixels = _swrast_CopyPixels;
driver->Bitmap = _swrast_Bitmap;