Repository navigation
How to embed gl-function in raylib framwork?why the following program can not get the dash line? #2475
Answered
by
raysan5
aliule2020
asked this question in
Q&A
|
#define APIENTRY __stdcall #include "raylib.h" void DrawDash(int sx,int sy,int ex,int ey,Color co) } int main(int argc, char* argv[]) } |
Answered by
raysan5
May 14, 2022
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 |
1 reply
Answer selected by
raysan5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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.