xbmc/xbmc — pull request #1949 by popcornmix (2012-12-17 22:28:41+00:00)
Title: Remove incomplete IsExtSupported from CWinSystemEGL

In the log on Pi, we get:
18:17:44 T:3040780928 NOTICE: GL: Reverting to POT textures

which is strange because we support nPOT.

This means (in xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp):
```
// determine whether GPU supports NPOT textures
if (!g_Windowing.IsExtSupported("GL_TEXTURE_NPOT"))
```
is returning false.

But:
```
bool CRenderSystemGLES::IsExtSupported(const char* extension)
{
...
else if (strcmp( extension, "GL_TEXTURE_NPOT" ) == 0)
{
// GLES supports non-power-of-two textures as standard.
return true;
```
it should be returning true!

Trouble is, that xbmc/windowing/egl/WinSystemEGL.cpp overrides this
function with one that doesn't return true. I think this function
should be removed.

(Note: GL_TEXTURE_NPOT is not the correct extension name for GLES - it would need to be GL_OES_texture_npot if this is meant to query the GLES driver)