OLD | NEW |
1 // | 1 // |
2 // Book: OpenGL(R) ES 2.0 Programming Guide | 2 // Book: OpenGL(R) ES 2.0 Programming Guide |
3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner | 3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner |
4 // ISBN-10: 0321502795 | 4 // ISBN-10: 0321502795 |
5 // ISBN-13: 9780321502797 | 5 // ISBN-13: 9780321502797 |
6 // Publisher: Addison-Wesley Professional | 6 // Publisher: Addison-Wesley Professional |
7 // URLs: http://safari.informit.com/9780321563835 | 7 // URLs: http://safari.informit.com/9780321563835 |
8 // http://www.opengles-book.com | 8 // http://www.opengles-book.com |
9 // | 9 // |
10 | 10 |
11 // esUtil_TGA.c | 11 // esUtil_TGA.c |
12 // | 12 // |
13 // This file contains the Win32 implementation of a TGA image loader | 13 // This file contains the Win32 implementation of a TGA image loader |
14 | 14 |
15 #ifndef WIN32_LEAN_AND_MEAN | |
16 #define WIN32_LEAN_AND_MEAN | 15 #define WIN32_LEAN_AND_MEAN |
17 #endif // WIN32_LEAN_AND_MEAN | |
18 | |
19 #include <windows.h> | 16 #include <windows.h> |
20 #include <stdio.h> | 17 #include <stdio.h> |
21 #include <stdlib.h> | 18 #include <stdlib.h> |
22 | 19 |
23 /// | 20 /// |
24 // Macros | 21 // Macros |
25 // | 22 // |
26 #define INVERTED_BIT (1 << 5) | 23 #define INVERTED_BIT (1 << 5) |
27 | 24 |
28 /// | 25 /// |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 114 } |
118 | 115 |
119 fclose(fp); | 116 fclose(fp); |
120 free(Buffer24); | 117 free(Buffer24); |
121 return(TRUE); | 118 return(TRUE); |
122 } | 119 } |
123 } | 120 } |
124 | 121 |
125 return(FALSE); | 122 return(FALSE); |
126 } | 123 } |
OLD | NEW |