[mutter] cogl: Remove CoglTextureType



commit ca2be8ef5b89071823d6acb9cb6b364628632da3
Author: Adam Jackson <ajax redhat com>
Date:   Fri Mar 8 14:54:10 2019 -0500

    cogl: Remove CoglTextureType
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/546

 cogl/cogl/cogl-pipeline-layer-state.h |  1 -
 cogl/cogl/cogl-texture.h              | 15 ---------------
 2 files changed, 16 deletions(-)
---
diff --git a/cogl/cogl/cogl-pipeline-layer-state.h b/cogl/cogl/cogl-pipeline-layer-state.h
index 7be55bf11..5fb1da03c 100644
--- a/cogl/cogl/cogl-pipeline-layer-state.h
+++ b/cogl/cogl/cogl-pipeline-layer-state.h
@@ -159,7 +159,6 @@ cogl_pipeline_set_layer_texture (CoglPipeline *pipeline,
  * cogl_pipeline_set_layer_null_texture:
  * @pipeline: A #CoglPipeline
  * @layer_index: The layer number to modify
- * @texture_type: The type of the default texture to use
  *
  * Sets the texture for this layer to be the default texture for the
  * given type. The default texture is a 1x1 pixel white texture.
diff --git a/cogl/cogl/cogl-texture.h b/cogl/cogl/cogl-texture.h
index dfdcb73af..9a777d793 100644
--- a/cogl/cogl/cogl-texture.h
+++ b/cogl/cogl/cogl-texture.h
@@ -107,21 +107,6 @@ typedef enum
   COGL_TEXTURE_ERROR_TYPE
 } CoglTextureError;
 
-/**
- * CoglTextureType:
- * @COGL_TEXTURE_TYPE_2D: A #CoglTexture2D
- *
- * Constants representing the underlying hardware texture type of a
- * #CoglTexture.
- *
- * Stability: unstable
- * Since: 1.10
- */
-typedef enum
-{
-  COGL_TEXTURE_TYPE_2D,
-} CoglTextureType;
-
 uint32_t cogl_texture_error_quark (void);
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]