(texid)
| 73 | |
| 74 | # Function to look up the texture descriptor for a given resourceId |
| 75 | def getTexture(texid): |
| 76 | global textures |
| 77 | for tex in textures: |
| 78 | if tex.resourceId == texid: |
| 79 | return tex |
| 80 | return None |
| 81 | |
| 82 | # Our paint function will be called ever 33ms, to display the output |
| 83 | def paint(): |