Skip to content

Perhaps "int8" should be changed to "uint8". #4

Description

@bragwang

Hello dear author, I like this book very much. Thank you for your efforts.
When I run the project in Chapter 9 (understand open GL), I get an error until I change line 21 of the auxiliary file glutils.py: change "int8" to "uint8"。

pp2e/common/glutils.py
Line 21:imgData = numpy.array(list(img.getdata()), np.int8)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions