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

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

Issue 465051: Added an application framework for demos. Ported hello-triangle example in Op... (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
15 #define WIN32_LEAN_AND_MEAN 16 #define WIN32_LEAN_AND_MEAN
17 #endif // WIN32_LEAN_AND_MEAN
18
16 #include <windows.h> 19 #include <windows.h>
17 #include <stdio.h> 20 #include <stdio.h>
18 #include <stdlib.h> 21 #include <stdlib.h>
19 22
20 /// 23 ///
21 // Macros 24 // Macros
22 // 25 //
23 #define INVERTED_BIT (1 << 5) 26 #define INVERTED_BIT (1 << 5)
24 27
25 /// 28 ///
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 117 }
115 118
116 fclose(fp); 119 fclose(fp);
117 free(Buffer24); 120 free(Buffer24);
118 return(TRUE); 121 return(TRUE);
119 } 122 }
120 } 123 }
121 124
122 return(FALSE); 125 return(FALSE);
123 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698