Mercurial > repos > blastem
comparison render.h @ 1986:a042e046f7f2
Fix libretro target
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 16 May 2020 10:36:58 -0700 |
parents | bd70f1e15684 |
children | 193b804c9845 |
comparison
equal
deleted
inserted
replaced
1985:7ebcbef45362 | 1986:a042e046f7f2 |
---|---|
3 This file is part of BlastEm. | 3 This file is part of BlastEm. |
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #ifndef RENDER_H_ | 6 #ifndef RENDER_H_ |
7 #define RENDER_H_ | 7 #define RENDER_H_ |
8 | |
9 #include <stdint.h> | |
8 | 10 |
9 #ifndef IS_LIB | 11 #ifndef IS_LIB |
10 #ifdef USE_FBDEV | 12 #ifdef USE_FBDEV |
11 #include "special_keys_evdev.h" | 13 #include "special_keys_evdev.h" |
12 #define render_relative_mouse(V) | 14 #define render_relative_mouse(V) |
136 void render_set_ui_render_fun(ui_render_fun); | 138 void render_set_ui_render_fun(ui_render_fun); |
137 void render_set_ui_fb_resize_handler(ui_render_fun resize); | 139 void render_set_ui_fb_resize_handler(ui_render_fun resize); |
138 void render_video_loop(void); | 140 void render_video_loop(void); |
139 uint8_t render_should_release_on_exit(void); | 141 uint8_t render_should_release_on_exit(void); |
140 void render_set_external_sync(uint8_t ext_sync_on); | 142 void render_set_external_sync(uint8_t ext_sync_on); |
143 #ifndef IS_LIB | |
141 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); | 144 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); |
145 #endif | |
142 | 146 |
143 #endif //RENDER_H_ | 147 #endif //RENDER_H_ |
144 | 148 |