cogl-material: Compare GL texture numbers for material layer textures
authorNeil Roberts <neil@linux.intel.com>
Mon, 1 Feb 2010 13:25:19 +0000 (13:25 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 1 Feb 2010 13:27:42 +0000 (13:27 +0000)
commitaa6731e338a88d03e718980604ac8f2393391a9f
treeaba090a3c09767479993f18271f048db39f219c7
parentabe91784c4ba98417eabe0649bf73381afbd6fc7
cogl-material: Compare GL texture numbers for material layer textures

When deciding if a material layer is equal it now compares the GL
target and texture number if the textures are not sliced. This is
needed to get batching across atlased textures.
clutter/cogl/cogl/cogl-material.c