Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/asp.net-mvc-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 为SDL1.2创建当前OpenGL上下文_C_Opengl_Sdl - Fatal编程技术网

C 为SDL1.2创建当前OpenGL上下文

C 为SDL1.2创建当前OpenGL上下文,c,opengl,sdl,C,Opengl,Sdl,在SDL2上,有函数SDL\u GL\u MakeCurrent,SDL1.2有类似的功能吗?不在公共API中,没有 但是有一个函数指针。因此,在SDL 1.2上没有处理多个上下文的概念?正确。1.2也是一个窗口,所以我不确定在多个上下文中可以做什么,即使API在那里。

在SDL2上,有函数
SDL\u GL\u MakeCurrent
,SDL1.2有类似的功能吗?

不在公共API中,没有


但是有一个函数指针。

因此,在SDL 1.2上没有处理多个上下文的概念?正确。1.2也是一个窗口,所以我不确定在多个上下文中可以做什么,即使API在那里。