From 45ba4e43322076be27e994a1d78b8b4802c5ae72 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 8 Sep 2005 21:40:10 +0000 Subject: use an explicit reserved field, rather than magic number in bound --- src/mesa/drivers/dri/common/texmem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers/dri/common/texmem.h') diff --git a/src/mesa/drivers/dri/common/texmem.h b/src/mesa/drivers/dri/common/texmem.h index 486cb0dab94..5c1fc323843 100644 --- a/src/mesa/drivers/dri/common/texmem.h +++ b/src/mesa/drivers/dri/common/texmem.h @@ -67,6 +67,9 @@ struct dri_texture_object { * A placeholder should have a heap and a memBlock. */ PMemBlock memBlock; /**< Memory block containing texture */ + + unsigned reserved; /**< Cannot be swapped out by user contexts. */ + unsigned bound; /**< Bitmask indicating which tex units * this texture object is bound to. * Bit 0 = unit 0, Bit 1 = unit 1, etc -- cgit v1.2.3