#4 _openglmodule.c unused variable cleanup

v1.5.6
closed-rejected
GL (74)
5
2001-06-30
2000-12-17
No

In addition to the _openglmodule.c cleanups I put in the last patch (102886), there are two left over that I didn't fix:

cc-1552 cc: WARNING File = src/_openglmodule.c, Line = 3614
The variable "format" is set but never used.

int format, type;
^

cc-1552 cc: WARNING File = src/_openglmodule.c, Line = 3675
The variable "format" is set but never used.

int format, type;
^

Perhaps we should pass these "format" vars into arg 7 of glTexImage2D / arg 6 of glTexImage1D instead of those passed in by the user (and check that the format from the user matches our guess)? Otherwise these format variables should be removed.

Thanks,

Randall

Discussion

  • Tarn Weisner Burton

    • labels: 100100 --> GL
    • milestone: 100100 --> v1.5.6
     
  • Tarn Weisner Burton

    Logged In: YES
    user_id=21784

    We are trying to close off 1.5 development in light of
    PyOpenGLSWIG. Only bug fixes are be applied, i.e. no
    compiler warnings or API changes.

    thanks anyway,
    Tarn

     
  • Tarn Weisner Burton

    • assigned_to: nobody --> twburton
    • status: open --> closed-rejected
     

Log in to post a comment.