about summary refs log tree commit diff
path: root/src/TGALoader.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-17 18:17:02 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-17 20:59:45 +0700
commitfb2f16557d34d3b2b4ad44687a55a830878e6aba (patch)
treec9756f002d7c4ac2c529c185e77fc8603ff3e5ee /src/TGALoader.cpp
parentd5127bb945bef714e553bdadd86952fa5eace364 (diff)
downloadblackshades-fb2f16557d34d3b2b4ad44687a55a830878e6aba.tar.gz
Resolve trivial warnings
Diffstat (limited to 'src/TGALoader.cpp')
-rw-r--r--src/TGALoader.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/TGALoader.cpp b/src/TGALoader.cpp
index 3090764..27fd5b9 100644
--- a/src/TGALoader.cpp
+++ b/src/TGALoader.cpp
@@ -11,7 +11,6 @@ TGAImageRec*	LoadTGA( char *filename )
 	GLuint			bytesPerPixel;								// Holds Number Of Bytes Per Pixel Used In The TGA File
 	GLuint			imageSize;									// Used To Store The Image Size When Setting Aside Ram
 	GLuint			temp;										// Temporary Variable
-	GLuint			type = GL_RGBA;								// Set The Default GL Mode To RBGA (32 BPP)
 	TGAImageRec		*texture;
 	FILE			*file;