Detect GLSL vs GLSL/ES based on mime type
*.vert and *.frag are now for desktop shaders *.vsh and *.fsh are now for ES shaders File/New gives the user the choice which to create
Showing
- src/plugins/glsleditor/GLSLEditor.mimetypes.xml 11 additions, 1 deletionsrc/plugins/glsleditor/GLSLEditor.mimetypes.xml
- src/plugins/glsleditor/glsleditor.cpp 24 additions, 6 deletionssrc/plugins/glsleditor/glsleditor.cpp
- src/plugins/glsleditor/glsleditor.h 1 addition, 0 deletionssrc/plugins/glsleditor/glsleditor.h
- src/plugins/glsleditor/glsleditorconstants.h 4 additions, 0 deletionssrc/plugins/glsleditor/glsleditorconstants.h
- src/plugins/glsleditor/glsleditorfactory.cpp 4 additions, 0 deletionssrc/plugins/glsleditor/glsleditorfactory.cpp
- src/plugins/glsleditor/glsleditorplugin.cpp 46 additions, 15 deletionssrc/plugins/glsleditor/glsleditorplugin.cpp
- src/plugins/glsleditor/glsleditorplugin.h 3 additions, 3 deletionssrc/plugins/glsleditor/glsleditorplugin.h
- src/plugins/glsleditor/glslfilewizard.cpp 29 additions, 5 deletionssrc/plugins/glsleditor/glslfilewizard.cpp
- src/plugins/glsleditor/glslfilewizard.h 4 additions, 2 deletionssrc/plugins/glsleditor/glslfilewizard.h
Loading
Please register or sign in to comment