Commit 95633ebb authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Require ARB_texture_non_power_of_two.

Also allowing r500's "normalized texrect" functionality. Keeping WINED3D_GL_NORMALIZED_TEXRECT is far less invasive and painful than the rest of the NP2 fixup code.
parent 74a32e2b
......@@ -5330,6 +5330,13 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl,
}
}
if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO] && !gl_info->supported[WINED3D_GL_NORMALIZED_TEXRECT])
{
ERR("Required extension ARB_texture_non_power_of_two is not supported.\n");
wined3d_caps_gl_ctx_destroy(&caps_gl_ctx);
return FALSE;
}
if (gl_info->glsl_version <= MAKEDWORD_VERSION(1, 20))
{
ERR("GLSL version %s is too low; 1.20 is required.\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment