xmake-repo icon indicating copy to clipboard operation
xmake-repo copied to clipboard

希望sdl在安卓平台取消强制禁止sdlmain的做法

Open vkensou opened this issue 4 months ago • 1 comments

Is your feature request related to a problem? Please describe.

SDL2的官方安卓绑定强制要求调用SDL_main。如果不能启用sdlmain,那么想跨平台使用sdl的话就只能自己处理不同的入口函数了。 我想各个平台统一用main函数~

Describe the solution you'd like

安卓和其他平台统一即可

Describe alternatives you've considered

No response

Additional context

相关提交 https://github.com/xmake-io/xmake-repo/pull/2999 https://github.com/xmake-io/xmake-repo/issues/2997

vkensou avatar Sep 27 '24 15:09 vkensou