refactor pattern texture in GL2 code path
code clean up
fix GL2 pattern stag
remove target s52eglarm
code clean up
comment closeWindow - fail to close
comment closeWindow - fail to close