使用wglCreateContextAttribsARB創建OpenGL #include <gl/glew.h> #include <gl/wglew.h> //祖傳設置像素格式函數 bool set_pixel_format(HDC h ...