19 static int test_inited = 0;
21 static uint test_bmp_data[128 * 64];
28 test_bmp =
bm_create(32, 128, 64, test_bmp_data);
30 for (i = 0; i < 64; i++) {
31 for (j = 0; j < 64; j++) {
33 test_bmp_data[j + i * 128] =
r;
45 for (y = 0; y < 64; y++) {
46 for (x = 0; x < 128; x++) {
47 test_bmp_data[y * 128 +
x] = 15;
void gr_set_bitmap(int bitmap_num, int alphablend_mode, int bitblt_mode, float alpha)
GLdouble GLdouble GLdouble r
GLint GLint GLint GLint GLint x
int bm_create(int bpp, int w, int h, void *data, int flags)
void gr_bitmap(int _x, int _y, int resize_mode)
int bm_unload(int handle, int clear_render_targets, bool nodebug)
Unloads a bitmap's data, but not the bitmap info.