Skip to content

Commit

Permalink
Revert "Small fixes javafxports#3"
Browse files Browse the repository at this point in the history
This reverts commit 18e58fe.
  • Loading branch information
ProggerFox committed Mar 11, 2019
1 parent 0a5d380 commit 444cc94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@ JNIEXPORT void JNICALL Java_com_sun_prism_es2_GLContext_nSetAmbientLight
*/
JNIEXPORT void JNICALL Java_com_sun_prism_es2_GLContext_nSetPointLight
(JNIEnv *env, jclass class, jlong nativeCtxInfo, jlong nativeMeshViewInfo,
jint index, jfloat x, jfloat y, jfloat z, jfloat r, jfloat g, jfloat b, jfloat w, jfloat range, jfloat ca, jfloat la, jfloat qa)
jint index, jfloat x, jfloat y, jfloat z, jfloat r, jfloat g, jfloat b, jfloat w, jfloat range, jfloat ca, ifloat la, jfloat qa)
{
ContextInfo *ctxInfo = (ContextInfo *) jlong_to_ptr(nativeCtxInfo);
MeshViewInfo *meshViewInfo = (MeshViewInfo *) jlong_to_ptr(nativeMeshViewInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,6 @@ struct MeshViewInfoRec {
GLfloat pointLightWeight;
GLfloat pointLightPosition[3];
GLfloat pointLightColor[3];

GLfloat pointLightRange;
GLfloat pointLightAttenuation[3];

GLboolean cullEnable;
GLenum cullMode;
GLenum fillMode;
Expand Down

0 comments on commit 444cc94

Please sign in to comment.