pipe: add PIPE_MAX_TEXTURE_TYPES
authorMarek Olšák <maraeo@gmail.com>
Mon, 14 Dec 2009 18:05:15 +0000 (19:05 +0100)
committerKeith Whitwell <keithw@vmware.com>
Tue, 15 Dec 2009 18:00:39 +0000 (18:00 +0000)
src/gallium/include/pipe/p_defines.h

index 69a0970d5f80d4c5c467208faf0572228c38eb26..fe1390d765f2272b642649b69e9cf5eb4d480200 100644 (file)
@@ -140,7 +140,8 @@ enum pipe_texture_target {
    PIPE_TEXTURE_1D   = 0,
    PIPE_TEXTURE_2D   = 1,
    PIPE_TEXTURE_3D   = 2,
-   PIPE_TEXTURE_CUBE = 3
+   PIPE_TEXTURE_CUBE = 3,
+   PIPE_MAX_TEXTURE_TYPES
 };
 
 #define PIPE_TEX_FACE_POS_X 0