mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 06:46:40 +08:00 
			
		
		
		
	Merge pull request #1424 from MerryMage/lut_init
renderer_opengl: Initalise fragment shader LUT textures
This commit is contained in:
		
						commit
						2b00bdec1f
					
				| @ -48,6 +48,10 @@ OpenGLState::OpenGLState() { | |||||||
|         texture_unit.sampler = 0; |         texture_unit.sampler = 0; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     for (auto& lut : lighting_lut) { | ||||||
|  |         lut.texture_1d = 0; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     draw.framebuffer = 0; |     draw.framebuffer = 0; | ||||||
|     draw.vertex_array = 0; |     draw.vertex_array = 0; | ||||||
|     draw.vertex_buffer = 0; |     draw.vertex_buffer = 0; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user