diff options
| author | Ray <[email protected]> | 2022-06-16 13:07:09 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-16 13:07:09 +0200 |
| commit | 7ed3d870fef3afeb11958d0129b7df3d42ed1daa (patch) | |
| tree | 799528d3cd54ff3cccfdd1b8872d19accf64825b | |
| parent | 2824aacd5dd665989640ef90a26fe87c3f9bf611 (diff) | |
| download | raylib-7ed3d870fef3afeb11958d0129b7df3d42ed1daa.tar.gz raylib-7ed3d870fef3afeb11958d0129b7df3d42ed1daa.zip | |
REVIEWED: `rlGenTextureMipmaps()`, removed filtering setup
| -rw-r--r-- | src/rlgl.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -3113,9 +3113,6 @@ void rlGenTextureMipmaps(unsigned int id, int width, int height, int format, int //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); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); // Activate Trilinear filtering for mipmaps - #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) @@ -3193,7 +3190,6 @@ void *rlReadTexturePixels(unsigned int id, int width, int height, int format) return pixels; } - // Read screen pixel data (color buffer) unsigned char *rlReadScreenPixels(int width, int height) { |
