Skip to content

Commit

Permalink
revert this shit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Sep 29, 2024
1 parent c5d1d3c commit 42faf0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/shaders/flixel/system/FlxShader.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package shaders.flixel.system;
import flixel.system.FlxAssets.FlxShader as OriginalFlxShader;

/**
* A modded FlxShader that allows using GL 2.0 in all platforms.
* A modded FlxShader that allows using GLSL Es 300 and GLSL 330
* @author Mihai Alexandru (M.A. Jigsaw)
*/
class FlxShader extends OriginalFlxShader
Expand Down Expand Up @@ -52,9 +52,9 @@ class FlxShader extends OriginalFlxShader
var gl = __context.gl;

#if lime_opengles
var prefix = "#version 100\n";
var prefix = "#version 300 es\n";
#else
var prefix = "#version 120\n";
var prefix = "#version 330\n";
#end

#if (js && html5)
Expand Down

0 comments on commit 42faf0f

Please sign in to comment.