diff options
Diffstat (limited to 'src/demos/dualDepthPeeling/Model.java')
-rw-r--r-- | src/demos/dualDepthPeeling/Model.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/dualDepthPeeling/Model.java b/src/demos/dualDepthPeeling/Model.java index 3502879..d0dc8f3 100644 --- a/src/demos/dualDepthPeeling/Model.java +++ b/src/demos/dualDepthPeeling/Model.java @@ -95,8 +95,8 @@ public class Model { // true, otherwise it returns false. // ////////////////////////////////////////////////////////////// - public boolean loadModelFromFile( String file ) { - URL fileURL = IOUtil.getResource(Model.class, file); + public boolean loadModelFromFile( Class<?> context, String file ) { + URL fileURL = IOUtil.getResource(context, file); if ( fileURL != null ) { BufferedReader input = null; |