_g3_draw_poly uses type cg3s_point which is const in OGL and non-const in SDL. gcc-6 with LTO reports a One Definition Rule violation for this mismatch: typedef const int cint; void f(cint *); void f(const int *) {} The code ran correctly as it was, but the fix is trivial and has no effect on the generated code, so fix it to satisfy the compiler. |
||
---|---|---|
.. | ||
ogl | ||
sdl |