summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-30 16:17:09 +0300
committerRami Santina <[email protected]>2011-03-30 16:17:09 +0300
commit133edeb70921dbcae3ec7cc76f1bc6dd0cd36da8 (patch)
tree1ae603def1e3b6fbf73056d7662a6dfae299ad5e /src/com
parent16eded9de9721634a929c9aa829aece0df8fa8a6 (diff)
Fix: RegionRenderer TwoPass Renderering, fix methodnames in Renderer
Diffstat (limited to 'src/com')
-rw-r--r--src/com/jogamp/graph/curve/opengl/RegionRenderer.java2
-rw-r--r--src/com/jogamp/graph/curve/opengl/Renderer.java4
-rw-r--r--src/com/jogamp/graph/curve/opengl/TextRenderer.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/com/jogamp/graph/curve/opengl/RegionRenderer.java b/src/com/jogamp/graph/curve/opengl/RegionRenderer.java
index 4be1506d5..a1d888da9 100644
--- a/src/com/jogamp/graph/curve/opengl/RegionRenderer.java
+++ b/src/com/jogamp/graph/curve/opengl/RegionRenderer.java
@@ -45,7 +45,7 @@ public abstract class RegionRenderer extends Renderer {
protected HashMap<Integer, Region> regions = new HashMap<Integer, Region>();
- public void flushCash() {
+ public void flushCache() {
Iterator<Region> iterator = regions.values().iterator();
while(iterator.hasNext()){
Region region = iterator.next();
diff --git a/src/com/jogamp/graph/curve/opengl/Renderer.java b/src/com/jogamp/graph/curve/opengl/Renderer.java
index a1755e003..a36cf870b 100644
--- a/src/com/jogamp/graph/curve/opengl/Renderer.java
+++ b/src/com/jogamp/graph/curve/opengl/Renderer.java
@@ -22,7 +22,7 @@ public abstract class Renderer {
/**
* Flushes all cached data
*/
- public abstract void flushCash();
+ public abstract void flushCache();
public abstract float getAlpha();
@@ -93,7 +93,7 @@ public abstract class Renderer {
}
disposeImpl(gl);
st.destroy(gl);
- flushCash();
+ flushCache();
initialized = false;
}
diff --git a/src/com/jogamp/graph/curve/opengl/TextRenderer.java b/src/com/jogamp/graph/curve/opengl/TextRenderer.java
index 04988a3ab..25e8b950f 100644
--- a/src/com/jogamp/graph/curve/opengl/TextRenderer.java
+++ b/src/com/jogamp/graph/curve/opengl/TextRenderer.java
@@ -68,7 +68,7 @@ public abstract class TextRenderer extends Renderer {
return font.getName() + "." + str.hashCode() + "." + fontSize;
}
- public void flushCash() {
+ public void flushCache() {
Iterator<GlyphString> iterator = strings.values().iterator();
while(iterator.hasNext()){
GlyphString glyphString = iterator.next();