How to embed gl-function in raylib framwork?why the following program can not get the dash line? #2475
-
#define APIENTRY __stdcall #include "raylib.h" void DrawDash(int sx,int sy,int ex,int ey,Color co)
} int main(int argc, char* argv[])
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@aliule2020 Here it is an example of OpenGL interoperativility: https://github.com/raysan5/raylib/blob/master/examples/others/raylib_opengl_interop.c But I'm afraid |
Beta Was this translation helpful? Give feedback.
@aliule2020 Here it is an example of OpenGL interoperativility: https://github.com/raysan5/raylib/blob/master/examples/others/raylib_opengl_interop.c
But I'm afraid
glLineStipple()
was deprecated in OpenGL 3.1, you should recompile raylib for OpenGL 2.1 or OpenGL 1.1.