摘要: lpddsprimary->Lock(NULL,&ddsd, DDLOCK_SURFACEMEMORYPTR | DDLOCK_WAIT,NULL);// get video pointer to primary surface// cast to VOID * since we don't know what we are// dealing with yetUCHAR *primary_buffer = (UCHAR *)ddsd.lpSurface; // what is the color depth?if (pixel_format == 32) { // dr 阅读全文
posted @ 2012-12-13 12:35 orangeblog 阅读(405) 评论(0) 推荐(0) 编辑