RetroArch
texconv.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------
2 
3 texconv.h -- GX texture helper functions
4 
5 Copyright (C) 2004
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
8 
9 This software is provided 'as-is', without any express or implied
10 warranty. In no event will the authors be held liable for any
11 damages arising from the use of this software.
12 
13 Permission is granted to anyone to use this software for any
14 purpose, including commercial applications, and to alter it and
15 redistribute it freely, subject to the following restrictions:
16 
17 1. The origin of this software must not be misrepresented; you
18 must not claim that you wrote the original software. If you use
19 this software in a product, an acknowledgment in the product
20 documentation would be appreciated but is not required.
21 
22 2. Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
24 
25 3. This notice may not be removed or altered from any source
26 distribution.
27 
28 -------------------------------------------------------------*/
29 
30 
31 #ifndef __TEXCONV_H__
32 #define __TEXTCONV_H__
33 
39 #include <gctypes.h>
40 
41 #ifdef __cplusplus
42  extern "C" {
43 #endif /* __cplusplus */
44 
45 void MakeTexture565(const void *src,void *dst,s32 width,s32 height);
46 
47 #ifdef __cplusplus
48  }
49 #endif /* __cplusplus */
50 
51 #endif
int32_t s32
32bit signed integer
Definition: gctypes.h:24
Data type definitions.
GLenum src
Definition: glext.h:6980
GLint GLint GLsizei width
Definition: glext.h:6293
GLenum GLenum dst
Definition: glext.h:6980
void MakeTexture565(const void *src, void *dst, s32 width, s32 height)
Definition: texconv.c:32
GLint GLint GLsizei GLsizei height
Definition: glext.h:6293