Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: third_party/gles_book_examples/Common/Source/Win32/esUtil_TGA.c

Issue 525019: Revert 35500 - Added an application framework for demos. Ported hellotriangle... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698