![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SDL
GPU小码农
GPU Arch/Ray tracing/游戏图形
展开
-
SDL安装+测试
1:安装:http://www.linuxidc.com/Linux/2012-12/75255.htm2.测试:http://www.linuxidc.com/Linux/2012-12/75256.htm原创 2017-03-30 20:03:44 · 1425 阅读 · 0 评论 -
SDL一个很好的例子
void Slock(SDL_Surface *screen){if ( SDL_MUSTLOCK(screen) ){if ( SDL_LockSurface(screen) < 0 ){return;}}}void Sulock(SDL_Surface *screen){if ( SDL_MUSTLOCK(screen) ){SDL_UnlockSurface(sc原创 2017-04-01 12:51:06 · 1417 阅读 · 0 评论