Psych-Slice / P-Slice

Apache License 2.0
38 stars 29 forks source link

App crashes after the loading screen on the start disappears #83

Open fabiahnobr opened 5 hours ago

fabiahnobr commented 5 hours ago

Describe your bug here.

just installed the mac osx 64 version, and when i try to open the game, it just closes

Command Prompt/Terminal logs (required)

Error compiling vertex shader
ERROR: 0:1: '' :  version '330' is not supported

#version 330
#ifdef GL_ES
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
#endif

        attribute float openfl_Alpha;
        attribute vec4 openfl_ColorMultiplier;
        attribute vec4 openfl_ColorOffset;
        attribute vec4 openfl_Position;
        attribute vec2 openfl_TextureCoord;

        varying float openfl_Alphav;
        varying vec4 openfl_ColorMultiplierv;
        varying vec4 openfl_ColorOffsetv;
        varying vec2 openfl_TextureCoordv;

        uniform mat4 openfl_Matrix;
        uniform bool openfl_HasColorTransform;
        uniform vec2 openfl_TextureSize;

        attribute float alpha;
        attribute vec4 colorMultiplier;
        attribute vec4 colorOffset;
        uniform bool hasColorTransform;

        void main(void)
        {
            openfl_Alphav = openfl_Alpha;
            openfl_TextureCoordv = openfl_TextureCoord;

            if (openfl_HasColorTransform) {
                openfl_ColorMultiplierv = openfl_ColorMultiplier;
                openfl_ColorOffsetv = openfl_ColorOffset / 255.0;
            }

            gl_Position = openfl_Matrix * openfl_Position;

            openfl_Alphav = openfl_Alpha * alpha;
            if (hasColorTransform)
            {
                openfl_ColorOffsetv = colorOffset / 255.0;
                openfl_ColorMultiplierv = colorMultiplier;
            }
        }

Are you modding a build from source or with Lua?

No modding

What is your build target?

Mac

Did you edit anything in this build? If so, mention or summarize your changes.

no

mcagabe19 commented 3 hours ago

are you on mac arm64 perhaps?