Esempio n. 1
0
long CALLBACK ZN_GPUinit()
{                                                      // we always set the vram size to 2MB, if the ZN interface is used
	iGPUHeight=1024;
	iGPUHeightMask=1023;

	return GPUinit();
}
Esempio n. 2
0
EXPORT_C_(int32) GPUconfigure()
{
#ifdef _WINDOWS

	GPUSettingsDlg dlg;

	if(IDOK == dlg.DoModal())
	{
		GPUshutdown();
		GPUinit();
	}

#else

    // TODO: linux
#endif

	return 0;
}