Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: New command line option -traceinit to initialization progress  (Read 17545 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
New command line option -traceinit to initialization progress
« on: November 09, 2014, 05:29:21 pm »

Build 1127 adds a new command line option -traceinit that outputs the progress of Anim8or during initialization to a text window. To use it, open a command window and start Anim8or with the option:

anim8or_1127 -traceinit

The output for a successful start should look something like this:

Code: [Select]
begin: InitInstance()
       creating main window.
       main window created.
       creating final OpenGL context.
       UsingDummyWindow = false.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 1).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 7.
begin: Draw3DOpenGL::CreateContext(pixelFormat = 7).
end:   Draw3DOpenGL::CreateContext() return value = 0x00010000.
       final OpenGL context created.
       creating child windows.
       child windows created.
call:  MakeCurrent(hdc, glContext).
       MakeCurrent() successful.
call:  theOpenGL->Initialize().
       theOpenGL->Initialize() successful.
begin: Draw3DOpenGL::ReadExtensions()
       GL_MAX_TEXTURE_SIZE = 16384.
       OpenGL version = 4.4.
       GL_MAX_SAMPLES_EXT = 32.
       determining actual maxSamplesPerPixel (failures OK).
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 2).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 19.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 3).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 31.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 4).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 31.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 5).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 6).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 7).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 8 ).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 9).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 10).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 11).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 12).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 13).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 14).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 15).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 16).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 17).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 18).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 19).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 20).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 21).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 22).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 23).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 24).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 25).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 26).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 27).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 28).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 29).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 30).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 31).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 32).
FAIL:  nNumFormats = 0.
       maxSamplesPerPixel = 16.
end:   Draw3DOpenGL::ReadExtensions()
call:  MakeCurrent(hdc, NULL).
end:   InitInstance().

If Anim8or won't run on your computer start it with -traceinit and post the results along with what OS you have, graphics card, compatibility mode you are using, etc. This will help me find the cause (I hope :) )
« Last Edit: November 09, 2014, 07:50:55 pm by Steve »
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: New command line option -traceinit to initialization progress
« Reply #1 on: November 09, 2014, 06:30:43 pm »

Well, there's probably no point in me posting mine since it works for me, but here it is anyway to confirm that traceinit works :P:

Code: [Select]
begin: InitInstance()
       creating main window.
       main window created.
       creating final OpenGL context.
       UsingDummyWindow = false.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 1).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 7.
begin: Draw3DOpenGL::CreateContext(pixelFormat = 7).
end:   Draw3DOpenGL::CreateContext() return value = 0x00010000.
       final OpenGL context created.
       creating child windows.
       child windows created.
call:  MakeCurrent(hdc, glContext).
       MakeCurrent() successful.
call:  theOpenGL->Initialize().
       theOpenGL->Initialize() successful.
begin: Draw3DOpenGL::ReadExtensions()
       GL_MAX_TEXTURE_SIZE = 16384.
       OpenGL version = 4.4.
       GL_MAX_SAMPLES_EXT = 32.
       determining actual maxSamplesPerPixel (failures OK).
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 2).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 19.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 3).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 31.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 4).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 31.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 5).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 6).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 7).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 8).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 43.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 9).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 10).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 11).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 12).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 13).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 14).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 15).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 16).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 55.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 17).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 18).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 19).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 20).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 21).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 22).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 23).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 24).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 25).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 26).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 27).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 28).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 29).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 30).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 31).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 32).
FAIL:  nNumFormats = 0.
       maxSamplesPerPixel = 16.
end:   Draw3DOpenGL::ReadExtensions()
call:  MakeCurrent(hdc, NULL).

Win 7 64-bit ultimate, gtx 780, no compatibility mode.

By the way, it's not entirely clear, but to select and copy the text, you have to right-click the debug output window and go to the edit sub menu.
« Last Edit: November 09, 2014, 06:32:13 pm by Raxx »
Logged

johnar

  • Hero Member
  • *****
  • Posts: 1025
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: New command line option -traceinit to initialization progress
« Reply #2 on: November 09, 2014, 07:18:13 pm »

Sorry but i cant get a debug output window to show, and can't really see how to go about running command lines.
Clicking the Debug modes under options shows nothing, and i'm a bit lost there.

  But, as mentioned in original thread,
http://www.anim8or.com/smf/index.php/topic,5002.15.html
1127 is working on my computer.
 Yes!!



 
« Last Edit: November 09, 2014, 07:29:54 pm by johnar »
Logged
%

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: New command line option -traceinit to initialization progress
« Reply #3 on: November 09, 2014, 07:50:14 pm »

johnar:  :) :) :) :) :)

raxx: thanks for posting your output. As for selecting text, that's the default for Windows. You can change it for windows with a specific title (like this one with "Anim8or Debug Output" by clicking on the icon in the top left corner and selecting the Properties menu command. In the Options tab check the "Quick Edit" option, then click OK.

This works for all command windows and for shortcuts on the desk top.
« Last Edit: November 09, 2014, 07:52:56 pm by Steve »
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: New command line option -traceinit to initialization progress
« Reply #4 on: November 09, 2014, 08:04:29 pm »

Ah! Learned something new :) Shows how I don't use the command window very much :P
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: New command line option -traceinit to initialization progress
« Reply #5 on: November 10, 2014, 11:52:06 am »

AHA!
I found out why an8 > 1103 doesnt load in HW mode.
Code: [Select]
begin: InitInstance()
       creating main window.
       main window created.
       creating final OpenGL context.
       UsingDummyWindow = false.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 1).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 9.
begin: Draw3DOpenGL::CreateContext(pixelFormat = 9).
end:   Draw3DOpenGL::CreateContext() return value = 0x00010000.
       final OpenGL context created.
       creating child windows.
       child windows created.
call:  MakeCurrent(hdc, glContext).
       MakeCurrent() successful.
call:  theOpenGL->Initialize().
       theOpenGL->Initialize() successful.
begin: Draw3DOpenGL::ReadExtensions()
       GL_MAX_TEXTURE_SIZE = 2048.
       OpenGL version = 1.5.
       GL_MAX_SAMPLES_EXT = 7572332.
       determining actual maxSamplesPerPixel (failures OK).
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 2).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 60.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 3).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 4).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 5).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 6).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 7).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 8).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 9).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 10).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 11).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 12).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 13).
...
...
...
...
And so on...
And so on...

So, the GL_MAX_SAMPLES_EXT = 7572332. is clearly wrong and should be 7, not 7572332

Now, I guess to test this theorey I should waut untill it reaches this number ...
in fact I will... ... *waits Patiantly... Has dinner... Still waits*
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: New command line option -traceinit to initialization progress
« Reply #6 on: November 10, 2014, 03:15:22 pm »

Fantastic! I'll clamp the number at 32 and post a quick update. You may have found the smoking gun!!!
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: New command line option -traceinit to initialization progress
« Reply #7 on: November 10, 2014, 03:18:27 pm »

YAY.

haha, aftewr 4 hrs its still loading...
its on 225200 at the moment moving at 20 a second

Trev
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: New command line option -traceinit to initialization progress
« Reply #8 on: November 10, 2014, 04:31:25 pm »

Ha ha. It'll take approximately 5.6 days to finish!!!

If you don't want to wait next Saturday to run Anim8or, here's a quick drop with a patch to catch bad values. Le me know if it works and I'll make an official build. Please post the -traceinit log as well.

Build 1127+ dated November 10, 2014: http://www.anim8or.com/download/preview/files/animcl1127plus.zip

Thanks!
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: New command line option -traceinit to initialization progress
« Reply #9 on: November 10, 2014, 07:13:32 pm »

YAY it works :)

Code: [Select]
begin: InitInstance()
       creating main window.
       main window created.
       Anim8or = 0.98a (build 1127 +) 10-Nov-14.
       OS = Windows 98 SE  A  (4.10) build 67766446.
       CPU = x86 Intel Pentium model 2 stepping 7.
       creating final OpenGL context.
       UsingDummyWindow = false.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 1).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 9.
begin: Draw3DOpenGL::CreateContext(pixelFormat = 9).
end:   Draw3DOpenGL::CreateContext() return value = 0x00010000.
       final OpenGL context created.
       creating child windows.
       child windows created.
call:  MakeCurrent(hdc, glContext).
       MakeCurrent() successful.
call:  theOpenGL->Initialize().
       theOpenGL->Initialize() successful.
begin: Draw3DOpenGL::ReadExtensions()
       OpenGL vendor: ATI Technologies Inc.
       OpenGL renderer: RADEON 9700 PRO x86/SSE2
       OpenGL version: 1.5.4454 Win9x Release
       GL_MAX_TEXTURE_SIZE = 2048.
       OpenGL version = 1.5.
       GL_MAX_SAMPLES_EXT = 7572380.
WARNING! excessive value for GL_MAX_SAMPLES_EXT, clamped to 32.
       determining actual maxSamplesPerPixel.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 2).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 60.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 3).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 4).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 5).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 6).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 7).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 8).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 9).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 10).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 11).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 12).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 13).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 14).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 15).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 16).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 17).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 18).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 19).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 20).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 21).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 22).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 23).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 24).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 25).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 26).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 27).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 28).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 29).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 30).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 31).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 32).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
       maxSamplesPerPixel = 6.
end:   Draw3DOpenGL::ReadExtensions()
call:  MakeCurrent(hdc, NULL).
end:   InitInstance().

Trev
Logged