mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
minor clean-ups
This commit is contained in:
parent
0cfd4f92dd
commit
d575a4c4a1
3 changed files with 3 additions and 6 deletions
|
|
@ -45,9 +45,8 @@
|
|||
drb->offset + \
|
||||
dPriv->x * drb->cpp + \
|
||||
dPriv->y * pitch); \
|
||||
char *read_buf = buf; \
|
||||
GLuint p; \
|
||||
(void) read_buf; (void) buf; (void) p
|
||||
(void) buf; (void) p
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -40,9 +40,8 @@
|
|||
GLuint pitch = drb->pitch; \
|
||||
GLuint height = dPriv->h; \
|
||||
GLubyte *buf = drb->Base.Data + dPriv->x * cpp + dPriv->y * pitch; \
|
||||
GLubyte *read_buf = buf; \
|
||||
GLuint p; \
|
||||
(void) p; (void) read_buf;
|
||||
(void) p
|
||||
|
||||
#define LOCAL_DEPTH_VARS \
|
||||
savageContextPtr imesa = SAVAGE_CONTEXT(ctx); \
|
||||
|
|
|
|||
|
|
@ -47,9 +47,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
driRenderbuffer *drb = (driRenderbuffer *) rb; \
|
||||
GLuint pitch = drb->pitch; \
|
||||
char *buf = (char *)(smesa->FbBase + drb->offset); \
|
||||
char *read_buf = buf; \
|
||||
GLuint p; \
|
||||
(void) read_buf; (void) buf; (void) p
|
||||
(void) buf; (void) p
|
||||
|
||||
#define LOCAL_DEPTH_VARS \
|
||||
sisContextPtr smesa = SIS_CONTEXT(ctx); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue