equal
deleted
inserted
replaced
425 handle = 0; |
425 handle = 0; |
426 eventSrcHandle = 0; |
426 eventSrcHandle = 0; |
427 } |
427 } |
428 MemoryUtil.freeNativeMemory(); |
428 MemoryUtil.freeNativeMemory(); |
429 } |
429 } |
430 |
430 |
431 /* |
431 /* |
432 * @see ToolkitObserverNGAExtension#foregroundEvent(boolean) |
432 * @see ToolkitObserverNGAExtension#freeGraphicsMemory() |
433 */ |
433 */ |
434 public void foregroundEvent(boolean foreground) |
434 public void freeGraphicsMemory() |
435 { |
435 { |
436 if (graphics3D != null) |
436 if (graphics3D != null) |
437 { |
437 { |
438 graphics3D.setForeground(foreground); |
438 graphics3D.freeGraphicsMemory(); |
439 } |
439 } |
440 } |
440 } |
441 |
441 |
442 // Native constructor |
442 // Native constructor |
443 private static native int _ctor(int eventSrcHandle); |
443 private static native int _ctor(int eventSrcHandle); |