Quake II RTX doxygen
1.0 dev
stb.c
Go to the documentation of this file.
1
/*
2
Copyright (C) 2018 Christoph Schied
3
Copyright (C) 2019, NVIDIA CORPORATION. All rights reserved.
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License along
16
with this program; if not, write to the Free Software Foundation, Inc.,
17
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#include "shared/shared.h"
21
#include "common/common.h"
22
#include "common/zone.h"
23
24
#define STBI_MALLOC(sz) Z_Malloc(sz)
25
#define STBI_REALLOC(p,newsz) Z_Realloc(p,newsz)
26
#define STBI_FREE(p) Z_Free(p)
27
28
#define STB_IMAGE_IMPLEMENTATION
29
#include "stb_image.h"
30
#define STB_IMAGE_RESIZE_IMPLEMENTATION
31
#include "stb_image_resize.h"
32
#define STB_IMAGE_WRITE_IMPLEMENTATION
33
#include "stb_image_write.h"
src
refresh
stb
stb.c
Generated by
1.8.17