Blacklist all Adreno devices for enableBlitting
This commit is contained in:
		
							parent
							
								
									1a6ad68352
								
							
						
					
					
						commit
						3482ec01b7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -102,7 +102,9 @@ int rgssThreadFun(void *userdata)
 | 
				
			||||||
		return 0;
 | 
							return 0;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!conf.enableBlitting)
 | 
						std::string RendererName = glGetStringInt(GL_RENDERER);
 | 
				
			||||||
 | 
						bool checkAdreno = RendererName.find("Adreno") != std::string::npos;
 | 
				
			||||||
 | 
						if (!conf.enableBlitting || checkAdreno)
 | 
				
			||||||
		gl.BlitFramebuffer = 0;
 | 
							gl.BlitFramebuffer = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	gl.ClearColor(0, 0, 0, 1);
 | 
						gl.ClearColor(0, 0, 0, 1);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue