parent
							
								
									0a71af9d6a
								
							
						
					
					
						commit
						cc1b9c1559
					
				|  | @ -71,11 +71,7 @@ gs::mipmapper::mipmapper() | ||||||
| 
 | 
 | ||||||
| 	_vb->update(); | 	_vb->update(); | ||||||
| 
 | 
 | ||||||
| 	{ | 	_effect = gs::effect::create(streamfx::data_file_path("effects/mipgen.effect").u8string()); | ||||||
| 		char* path = obs_module_file("effects/mipgen.effect"); |  | ||||||
| 		_effect    = gs::effect::create(path); |  | ||||||
| 		bfree(path); |  | ||||||
| 	} |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void gs::mipmapper::rebuild(std::shared_ptr<gs::texture> source, std::shared_ptr<gs::texture> target) | void gs::mipmapper::rebuild(std::shared_ptr<gs::texture> source, std::shared_ptr<gs::texture> target) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue