Fix software fallback on some older/more minimal graphic cards
This commit is contained in:
@@ -182,6 +182,10 @@ namespace lime {
|
||||
free (buffer);
|
||||
|
||||
mSmooth = true;
|
||||
|
||||
#ifndef LIME_GLES
|
||||
glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
|
||||
#endif
|
||||
glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
||||
glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user