src/java.desktop/share/native/common/java2d/opengl/OGLPaints.c
branchihse-warnings-cflags-branch
changeset 56230 489867818774
parent 47216 71c04702a3d5
equal deleted inserted replaced
56229:0015bf3a82e0 56230:489867818774
   151 /************************* GradientPaint support ****************************/
   151 /************************* GradientPaint support ****************************/
   152 
   152 
   153 static GLuint gradientTexID = 0;
   153 static GLuint gradientTexID = 0;
   154 
   154 
   155 static void
   155 static void
   156 OGLPaints_InitGradientTexture()
   156 OGLPaints_InitGradientTexture(void)
   157 {
   157 {
   158     GLclampf priority = 1.0f;
   158     GLclampf priority = 1.0f;
   159 
   159 
   160     J2dTraceLn(J2D_TRACE_INFO, "OGLPaints_InitGradientTexture");
   160     J2dTraceLn(J2D_TRACE_INFO, "OGLPaints_InitGradientTexture");
   161 
   161 
   498     "dist = fract(dist);"
   498     "dist = fract(dist);"
   499     // (placeholder for texcoord calculation)
   499     // (placeholder for texcoord calculation)
   500     "%s";
   500     "%s";
   501 
   501 
   502 static void
   502 static void
   503 OGLPaints_InitMultiGradientTexture()
   503 OGLPaints_InitMultiGradientTexture(void)
   504 {
   504 {
   505     GLclampf priority = 1.0f;
   505     GLclampf priority = 1.0f;
   506 
   506 
   507     J2dTraceLn(J2D_TRACE_INFO, "OGLPaints_InitMultiGradientTexture");
   507     J2dTraceLn(J2D_TRACE_INFO, "OGLPaints_InitMultiGradientTexture");
   508 
   508