Results 1 to 2 of 2

Thread: glLineWidth problems...

  1. #1
    Junior Member
    Join Date
    Jul 2008

    glLineWidth problems...


    I'm using OpenGL ES for the iPhone and am having a problem with using glLineWidth. When I render a line with glLineWidth set to something like 5.0 using the iPhone simulator ( an emulator that runs on a Mac ) everything works fine. However, when I try the same code on an actual device the lines always render with a width of 1 pixel.

    Is there something special I need to do to get this working on an actual device? Any help would be great! Thanks!

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Seattle, WA

    Re: glLineWidth problems...

    You might want to check for the supported line width range on the device. Per API spec, lines wider than 1 pixel do not necessarily need to be supported.

    - HM

Similar Threads

  1. glLineWidth(0) set glError to GL_INVALID_VALUE
    By Tryumk in forum OpenGL ES
    Replies: 2
    Last Post: 02-15-2010, 08:17 AM
  2. glLineWidth not work on OpenGL ES 1.x Vincent
    By techgeo in forum OpenGL ES
    Replies: 0
    Last Post: 10-21-2009, 07:04 AM
  3. I want glLineWidth with width > 1
    By gsmolarz in forum OpenGL ES
    Replies: 0
    Last Post: 10-17-2006, 07:31 AM

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