- use expectations
- improved gibbs sampling - LayerArray is template class git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@18 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -63,35 +63,17 @@
|
||||
#endif
|
||||
#elif JUCE_MAC
|
||||
#if defined (MAC_OS_X_VERSION_10_7) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7)
|
||||
#define JUCE_OPENGL3 1
|
||||
#define JUCE_OPENGL3 1
|
||||
#include <OpenGL/gl3.h>
|
||||
#include <OpenGL/gl3ext.h>
|
||||
#else
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glext.h>
|
||||
#include "OpenGL/glext.h"
|
||||
#endif
|
||||
#elif JUCE_ANDROID
|
||||
#include <GLES2/gl2.h>
|
||||
#endif
|
||||
|
||||
#if GL_ES_VERSION_3_0
|
||||
#define JUCE_OPENGL3 1
|
||||
#endif
|
||||
|
||||
//=============================================================================
|
||||
/** This macro is a helper for use in GLSL shader code which needs to compile on both OpenGL 2.1 and OpenGL 3.0.
|
||||
It's mandatory in OpenGL 3.0 to specify the GLSL version.
|
||||
*/
|
||||
#if JUCE_OPENGL3
|
||||
#if JUCE_OPENGL_ES
|
||||
#define JUCE_GLSL_VERSION "#version 300 es"
|
||||
#else
|
||||
#define JUCE_GLSL_VERSION "#version 150"
|
||||
#endif
|
||||
#else
|
||||
#define JUCE_GLSL_VERSION ""
|
||||
#endif
|
||||
|
||||
//=============================================================================
|
||||
#if JUCE_OPENGL_ES || defined (DOXYGEN)
|
||||
/** This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL.
|
||||
|
||||
Reference in New Issue
Block a user