Skip to content

Commit

Permalink
Fixes the fonts drawn to screen (stupid "normalized display")
Browse files Browse the repository at this point in the history
Also removes some things being imported for no reason
  • Loading branch information
erodozer committed Jul 12, 2010
1 parent 51379cb commit dac5c88
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Rockmeter.py
Expand Up @@ -25,9 +25,6 @@
import math
import Log
import os
import random #MFH - needed for new stage background handling

import Version # Provides dataPath

from OpenGL.GL import *

Expand Down Expand Up @@ -247,9 +244,9 @@ def get(value, type = str, default = None):
self.useComma = get("useComma", bool, False)

if "xpos" in self.inPixels:
self.position[0] *= w/640.0
self.position[0] /= 640.0
if "ypos" in self.inPixels:
self.position[1] *= h/480.0
self.position[1] /= 480.0

def render(self, visibility, playerNum):
w, h, = self.stage.engine.view.geometry[2:4]
Expand Down

0 comments on commit dac5c88

Please sign in to comment.