mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-22 07:37:56 +01:00
haiku: Changed internal function to be static.
This commit is contained in:
parent
3ed2f0ca10
commit
b7b919078f
@ -35,7 +35,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int32 BE_UpdateOnce(SDL_Window *window);
|
static int32 BE_UpdateOnce(SDL_Window *window);
|
||||||
|
|
||||||
static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
|
static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
|
||||||
return ((SDL_BWin*)(window->driverdata));
|
return ((SDL_BWin*)(window->driverdata));
|
||||||
@ -200,7 +200,7 @@ void BE_DestroyWindowFramebuffer(_THIS, SDL_Window * window) {
|
|||||||
* The specific issues have since become rare enough that they may have been
|
* The specific issues have since become rare enough that they may have been
|
||||||
* solved, but I doubt it- they were pretty sporadic before now.
|
* solved, but I doubt it- they were pretty sporadic before now.
|
||||||
*/
|
*/
|
||||||
int32 BE_UpdateOnce(SDL_Window *window) {
|
static int32 BE_UpdateOnce(SDL_Window *window) {
|
||||||
SDL_BWin *bwin = _ToBeWin(window);
|
SDL_BWin *bwin = _ToBeWin(window);
|
||||||
BScreen bscreen;
|
BScreen bscreen;
|
||||||
if(!bscreen.IsValid()) {
|
if(!bscreen.IsValid()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user