Reverted GX FIFO breakage.
[libogc.git] / gc / ogc / texconv.h
blob3a07ee0ca7c0c26a8cfe21680a71a7d1cc556cf8
1 /*-------------------------------------------------------------
3 texconv.h -- GX texture helper functions
5 Copyright (C) 2004
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
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.
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:
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.
22 2. Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
25 3. This notice may not be removed or altered from any source
26 distribution.
28 -------------------------------------------------------------*/
31 #ifndef __TEXCONV_H__
32 #define __TEXTCONV_H__
34 /*!
35 \file texconv.h
36 \brief GX texture helper functions
39 #include <gctypes.h>
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
45 void MakeTexture565(const void *src,void *dst,s32 width,s32 height);
47 #ifdef __cplusplus
49 #endif /* __cplusplus */
51 #endif