Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: whiack

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    581

    image got cut off in window

    I am using cygwin on windows 7.
    When I draw a grid on the screen. each element is a rectangle with a text above it.
    The result will cut of the first line of the text. only show starting of the...
  2. Replies
    3
    Views
    1,674

    oh, thank you. I thought of that. But I just want...

    oh, thank you. I thought of that. But I just want to make sure there is no problem with the code.
  3. Replies
    16
    Views
    4,611

    But Im still not sure where the problem is. ...

    But Im still not sure where the problem is.

    This is what I saw other people's answer:
    VBO setup problem, but I'm not using VBO
    out of bond, this might be the cases, im in windows, i cannot use...
  4. Replies
    3
    Views
    1,674

    createwindow title messed up

    This is how I created my window. I'm creating it in ASCII, the title showed is random characters.
    I'm using cygwin in windows. this code works totally fine with virtual studio 2010. with...
  5. Replies
    16
    Views
    4,611

    Yes, the project has a lot of files and I'm...

    Yes, the project has a lot of files and I'm respond for wgl part of it, therefore, I need to use getprocaddress since it is the way how linux run it. But thanks a lot.
  6. Replies
    16
    Views
    4,611

    No, I didn't use GL_ARRAY_BUFFER. I solved...

    No, I didn't use GL_ARRAY_BUFFER.

    I solved this problem by setting the NVIDIA thread optimization off.
  7. Replies
    16
    Views
    4,611

    Maybe this line is important : Program...

    Maybe this line is important :

    Program received signal SIGSEGV, Segmentation fault.
    0x0000000069ebad39 in nvoglv64!DrvPresentBuffers () from /cygdrive/c/windows/system32/nvoglv64.DLL

    The error...
  8. Replies
    16
    Views
    4,611

    I tired to load glFinish() but I cannot load it...

    I tired to load glFinish() but I cannot load it with wglGetProcAddress nor GetProcAddress(opengl32,procName). Where can I get the glFinish()?
  9. Replies
    16
    Views
    4,611

    Another thing I need to mention is that the...

    Another thing I need to mention is that the program works fine in Linux, I'n converting it to windows. Then there is a seg fault. I don't know if there is an extra step that i should do in windows?...
  10. Replies
    16
    Views
    4,611

    17 is a program id returned by createProgram, I...

    17 is a program id returned by createProgram, I have stored it in a variable.
  11. Replies
    16
    Views
    4,611

    I have created a window and glClearColor which...

    I have created a window and glClearColor which works fine.
    Then I called:

    wglMakeCurrent

    glBindFramebuffer(GL_FRAMEBUFFER, 0)

    glViewPort(0, 0, window_width, window_height)
    ...
  12. Replies
    16
    Views
    4,611

    glDrawArrays() Seg Fault

    right after I called glDrawArrays() I got:

    ***** FATAL EXCEPTION RECEIVED *******
    "
    ***** Vectored Exception Handler: Received fatal exception EXCEPTION_ACCESS_VIOLATION PID: 1048

    *******...
  13. Replies
    8
    Views
    1,471

    I have solved the problem by storing one hDC and...

    I have solved the problem by storing one hDC and hWnd per window and only have one hRC. After createWindow, ShowWindow, I set up hDC pfd, then makecurrent before clearcolor. Also after clearColor() I...
  14. Replies
    8
    Views
    1,471

    Yes, after swapBuffer, there still nothing on the...

    Yes, after swapBuffer, there still nothing on the window. :(
  15. Replies
    8
    Views
    1,471

    The m_fn is working fine in Linux, so I assume it...

    The m_fn is working fine in Linux, so I assume it will also work on Windows
  16. Replies
    8
    Views
    1,471

    Yes, I have tried. And it still not working. I...

    Yes, I have tried. And it still not working. I think it might be something about my createWindow setting. I have update the post. Please have a look.
  17. Replies
    8
    Views
    1,471

    I have done some experiments on my code, the...

    I have done some experiments on my code, the problem is that when I have only one hRC to share with both hWnd, the second window doesn't show anything. If I redefine the hRC with hRC =...
  18. Replies
    8
    Views
    1,471

    glClearColor() does not work

    I'm using mingGW in Windows. The basic code as follows colour is {1, 0, 0 , 1} which should be red. However, when I run my code there is no error but the window just show white.

    ...
Results 1 to 18 of 18