1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
glColorTable = (PFNGLCOLORTABLEPROC)wglGetProcAddress("glColorTable");
if(glColorTable == NULL){
MessageBox(NULL, "Imaging Subset not supported by your graphic card","SegamiCorporation" ,MB_ICONSTOP | MB_OK);
Exit();
}
glColorSubTable = (PFNGLCOLORSUBTABLEPROC)wglGetProcAddress("glColorSubTable");
if(glColorSubTable == NULL){
MessageBox(NULL, "Imaging Subset not supported by your graphic card","SegamiCorporation" ,MB_ICONSTOP | MB_OK);
Exit();
}
glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)wglGetProcAddress("glColorTableParameterfv");
if(glColorTableParameterfv == NULL){
MessageBox(NULL, "glColorTableParameterfv not supported by your graphic card","SegamiCorporation" ,MB_ICONSTOP | MB_OK);
Exit();
}
glGetHistogram = (PFNGLGETHISTOGRAMPROC)wglGetProcAddress("glGetHistogram");
if(glGetHistogram == NULL){
MessageBox(NULL, "glGetHistogram not supported by your graphic card","SegamiCorporation" ,MB_ICONSTOP | MB_OK);
Exit();
}
glHistogram = (PFNGLHISTOGRAMPROC)wglGetProcAddress("glHistogram");
if(glGetHistogram == NULL){
MessageBox(NULL, "glHistogram not supported by your graphic card","SegamiCorporation" ,MB_ICONSTOP | MB_OK);
Exit();
} |
Partager