From 69f1bb619322c3c475f1fc7d2012ae3b9e4654f9 Mon Sep 17 00:00:00 2001 From: Mircea Rila Date: Thu, 19 Jun 2014 11:46:00 +0300 Subject: [PATCH] fix warning Uniform is struct, not class. --- cocos/renderer/CCMeshCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/renderer/CCMeshCommand.h b/cocos/renderer/CCMeshCommand.h index 031d8b9a51..fb88674b90 100644 --- a/cocos/renderer/CCMeshCommand.h +++ b/cocos/renderer/CCMeshCommand.h @@ -34,7 +34,7 @@ NS_CC_BEGIN class GLProgramState; class GLProgram; -class Uniform; +struct Uniform; //it is a common mesh class MeshCommand : public RenderCommand