mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:40:06 +00:00 
			
		
		
		
	Define draw item shaders in draw items, not the generic draw layer
This commit is contained in:
		
							parent
							
								
									d84a618d3d
								
							
						
					
					
						commit
						224d36bae5
					
				
					 8 changed files with 88 additions and 83 deletions
				
			
		|  | @ -37,9 +37,9 @@ public: | |||
|        textShader_(context), | ||||
|        font_(util::Font::Create(":/res/fonts/din1451alt.ttf")), | ||||
|        texture_ {GL_INVALID_INDEX}, | ||||
|        activeBoxOuter_ {std::make_shared<gl::draw::Rectangle>(context->gl())}, | ||||
|        activeBoxInner_ {std::make_shared<gl::draw::Rectangle>(context->gl())}, | ||||
|        timeBox_ {std::make_shared<gl::draw::Rectangle>(context->gl())}, | ||||
|        activeBoxOuter_ {std::make_shared<gl::draw::Rectangle>(context)}, | ||||
|        activeBoxInner_ {std::make_shared<gl::draw::Rectangle>(context)}, | ||||
|        timeBox_ {std::make_shared<gl::draw::Rectangle>(context)}, | ||||
|        sweepTimeString_ {}, | ||||
|        sweepTimeNeedsUpdate_ {true} | ||||
|    { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat