Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Fullscreen program

Author
Message
TUV3Y
10
Years of Service
User Offline
Joined: 31st Jul 2013
Location:
Posted: 31st Jul 2013 17:56
I'm making a game with DarkGDK and I was just trying to find a way of making the program fullscreen?
s_i
14
Years of Service
User Offline
Joined: 23rd May 2009
Location: Russia
Posted: 1st Aug 2013 01:50
Use this:
dbSetDisplayModeAntialias (iWidth,iHeight,iDepth,iVSyncOn,iMultisamplingFactor(i.e. antialias: 0,2, or 4),iMultimonitorMode);

For example:
int screenWidth = GetSystemMetrics(SM_CXSCREEN);
int screenHeight = GetSystemMetrics(SM_CYSCREEN);
dbSetDisplayModeAntialias (screenWidth, screenHeight, 32, 1, 4, 0);

Login to post a reply

Server time is: 2024-04-18 19:44:52
Your offset time is: 2024-04-18 19:44:52