Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Commit

Permalink
Merge branch 'release/2.0.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuya Matsuo committed Apr 5, 2016
2 parents 64d3a83 + 920d724 commit a898a82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ uploadArchives {
mavenDeployer {
def deployPath = file("$rootDir/../Meganekko_pages/repository")
repository(url: "file://${deployPath.absolutePath}")
pom.version = '2.0.7'
pom.version = '2.0.8'
pom.groupId = 'com.eje_c'
pom.artifactId = 'meganekko'
}
Expand Down
5 changes: 4 additions & 1 deletion library/src/main/jni/OESShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ static const char FRAGMENT_SHADER[] =
"uniform float Opacity;\n"
"varying highp vec2 oTexCoord;\n"
"void main() {\n"
" gl_FragColor = texture2D(Texture0, oTexCoord) * UniformColor * Opacity;\n"
" vec4 texel = texture2D(Texture0, oTexCoord) * UniformColor * Opacity;\n"
" if (texel.a < 0.1)\n"
" discard;\n"
" gl_FragColor = texel;\n"
"}\n";

OESShader::OESShader() {
Expand Down

0 comments on commit a898a82

Please sign in to comment.