|
|
@ -3110,7 +3110,7 @@ void rlGenTextureMipmaps(unsigned int id, int width, int height, int format, int |
|
|
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) |
|
|
|
if ((texIsPOT) || (RLGL.ExtSupported.texNPOT)) |
|
|
|
{ |
|
|
|
//glHint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE); // Hint for mipmaps generation algorythm: GL_FASTEST, GL_NICEST, GL_DONT_CARE |
|
|
|
//glHint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE); // Hint for mipmaps generation algorithm: GL_FASTEST, GL_NICEST, GL_DONT_CARE |
|
|
|
glGenerateMipmap(GL_TEXTURE_2D); // Generate mipmaps automatically |
|
|
|
|
|
|
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); |
|
|
@ -4091,7 +4091,7 @@ Matrix rlGetMatrixTransform(void) |
|
|
|
} |
|
|
|
|
|
|
|
// Get internal projection matrix for stereo render (selected eye) |
|
|
|
Matrix rlGetMatrixProjectionStereo(int eye) |
|
|
|
RLAPI Matrix rlGetMatrixProjectionStereo(int eye) |
|
|
|
{ |
|
|
|
Matrix mat = rlMatrixIdentity(); |
|
|
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) |
|
|
@ -4101,7 +4101,7 @@ Matrix rlGetMatrixProjectionStereo(int eye) |
|
|
|
} |
|
|
|
|
|
|
|
// Get internal view offset matrix for stereo render (selected eye) |
|
|
|
Matrix rlGetMatrixViewOffsetStereo(int eye) |
|
|
|
RLAPI Matrix rlGetMatrixViewOffsetStereo(int eye) |
|
|
|
{ |
|
|
|
Matrix mat = rlMatrixIdentity(); |
|
|
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) |
|
|
|