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

Unified Diff: third_party/gles2_book/Common/Source/esUtil.c

Issue 552240: Changes necessary to compile gpu demos on linux. It is not functional yet jus... (Closed) Base URL: svn://chrome-svn/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/gles2_book/Common/Source/Win32/esUtil_TGA.c ('k') | third_party/gles2_book/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gles2_book/Common/Source/esUtil.c
===================================================================
--- third_party/gles2_book/Common/Source/esUtil.c (revision 37954)
+++ third_party/gles2_book/Common/Source/esUtil.c (working copy)
@@ -26,7 +26,6 @@
#include <GLES2/gl2.h>
#include "esUtil.h"
-#include "esUtil_win.h"
///
// esInitContext()
@@ -53,26 +52,10 @@
char buf[BUFSIZ];
va_start ( params, formatStr );
- vsprintf_s ( buf, sizeof(buf), formatStr, params );
+ vsprintf ( buf, formatStr, params );
printf ( "%s", buf );
va_end ( params );
}
-///
-// esLoadTGA()
-//
-// Loads a 24-bit TGA image from a file
-//
-char* esLoadTGA ( char *fileName, int *width, int *height )
-{
- char *buffer;
-
- if ( WinTGALoad ( fileName, &buffer, width, height ) )
- {
- return buffer;
- }
-
- return NULL;
-}
« no previous file with comments | « third_party/gles2_book/Common/Source/Win32/esUtil_TGA.c ('k') | third_party/gles2_book/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698