Results 1 to 3 of 3

Thread: My patience is finished

  1. #1
    Senior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Poland
    Posts
    234

    My patience is finished

    Hello everyone

    I have a problem which is very very annoying for me. It's first time something like this happens - I am powerless in this case. Let's get to the point... My application initializes, OpenGL configuration is done, I have my drawing context, window handle etc... No error messages appear (a kind of NeHe's window creation). glGetError() returns GL_NO_ERROR. The whole program WORKS, sound is on, input is working, main loop interates and so on. The question is - why don't any of GL commands work? Only thing I see is my desktop resized to window's resolution and nothing more. I can't even call glClear(). It seems like some stupid mistake. Although, I used the same initialization code for other apps and it worked pretty fine. Do you have any ideas? Please help me before I harm myself

    Thanks in advance!

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: My patience is finished

    Rendering context current?
    Single buffered rendering and no glFlush() called?
    Double buffered pixelformat and no swap called?
    Everything is rendered black on black? Change glClearColor for debugging.
    glScissor null rect and scissor_test on?

    More fun ideas:
    Window style doesn't include WS_CLIPCHILDREN and WS_CLIPSIBLINGS? Or it does and you have an overlapping transparent window?
    WM_PAINT message handler not correctly implemented?
    WM_ERASEBKGROUND not returning 1?
    Alpha test enabled and killing all pixels?

  3. #3
    Senior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Poland
    Posts
    234

    Re: My patience is finished

    Originally posted by Relic:
    Double buffered pixelformat and no swap called?
    My God, I am sooooooo stupid. I was trying to figure that for 3 days. LOOOL Laaaammeeee ...

    THANKS RELIC, from this day you are my MASTER! You are a great guy since some people would probably blame me saying that I am giving to little info etc... Good shot, Relic!

    Thanks once again

Similar Threads

  1. Know if draw call has finished
    By Rodrigo in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 06-08-2014, 12:41 AM
  2. Sync finished callback
    By MalcolmB in forum OpenGL: General
    Replies: 6
    Last Post: 07-12-2013, 03:57 PM
  3. Just finished new game "Big Fish" but have some questions
    By imported_Optimizer in forum OpenGL: Advanced Coding
    Replies: 10
    Last Post: 02-01-2005, 12:31 PM
  4. Done but Un-finished!!!
    By o9i8 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-10-2002, 07:20 PM
  5. My demo is finished and I need feedback ...
    By Arath in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 08-24-2000, 04:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean