From 4c0f7b06ca064ba0853edf4ed8b07d94f45df078 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Tue, 1 Nov 2011 09:47:47 +0000 Subject: [PATCH] - Fixed nifty RenderDeviceJme compilation issue, a new float param has been added to the renderFont method in nifty's RenderDevice interface, it's called "f1" so it's kinda hard to tell what it stands for. For now it's not used in jme's renderFont method. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/niftygui/com/jme3/niftygui/RenderDeviceJme.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/engine/src/niftygui/com/jme3/niftygui/RenderDeviceJme.java b/engine/src/niftygui/com/jme3/niftygui/RenderDeviceJme.java index 9e2cc77cd..5d157d474 100644 --- a/engine/src/niftygui/com/jme3/niftygui/RenderDeviceJme.java +++ b/engine/src/niftygui/com/jme3/niftygui/RenderDeviceJme.java @@ -186,8 +186,11 @@ public class RenderDeviceJme implements RenderDevice { buf.flip(); quadColor.updateData(buf); } - - public void renderFont(RenderFont font, String str, int x, int y, Color color, float size){ + + + @Override + public void renderFont(RenderFont font, String str, int x, int y, Color color, float size, float f1){ + //TODO find out what the f1 param is for if (str.length() == 0) return; @@ -364,4 +367,6 @@ public class RenderDeviceJme implements RenderDevice { } } + + }