aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/graph/curve/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/graph/curve/opengl')
-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 602399010..dfeff1b55 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();