English
Source / code snippets

function Opengl Verify Testmode

 
Folgender Source checks whether the Testmode functions - but not - whether the Testmode everywhere correctly. functions. If the driver whom Testmode überhauptnicht hergibt, so gives The function 0 zero back, otherwise 1. there's but nevertheless situations where here 1 zurückgegeben becomes, but the Testmode nevertheless no perfektes Result supply. some driver muscheln ever one Result therefore - as if geschätzt becomes - I with Grafikkartentreibern fixes have where The Grafikkarte no real 3D supported. Perhaps succeed it me these function here sometime time so To perfektionieren the too the gefälschte Testmode recognized and is accordingly 0 zurückgegeben becomes.
CompileMarkSeparation
windowstyle 80
window 0,0 - %maxx,%maxy
print ogl.testTestMode()
waitinput
end

proc ogl.testTestMode

    ogl("init",%hwnd,0.0,0.0,0.0,1)
    ogl("posmode",1)
    ogl("starttest",width(%hwnd)2,height(%hwnd)4)
    ogl.testTestMode.oglproc
    var o&=ogl("endtest")
    ogl.testTestMode.oglproc
    ogl("done")
    cls
    return o&

    proc ogl.testTestMode.oglproc

        ogl("clear")
        ogl("rotate",11.7,0,0)
        ogl("move",0,0,-10)
        ogl("setname",1)
        ogl("cuboid",0.1,0.1,0.1)
        ogl("show")

    endproc

endproc

 
11/28/06  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.241 Views

Untitledvor 0 min.
H.Brill09/02/21
Sven Bader08/03/21
Andreas Koch01/20/13

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie