Fix an issue where texture2D primitive is deprecated in OpenGL 3.3
Fix an issue where texture2D primitive is deprecated in OpenGL 3.3

ejeschke/ginga,ejeschke/ginga,naojsoft/ginga,pllim/ginga,naojsoft/ginga,ejeschke/ginga,pllim/ginga,naojsoft/ginga,pllim/ginga