clang on windows fixes (nw)

This commit is contained in:
Miodrag Milanovic 2016-06-25 20:06:02 +02:00
parent 57e475ada0
commit f75a33f7d1
4 changed files with 2 additions and 6 deletions

View File

@ -617,9 +617,6 @@ public:
std::size_t total_length() const { return minimum_length(); }
static std::size_t minimum_length() { return 0x18; }
private:
std::size_t m_length;
};

View File

@ -146,7 +146,7 @@ directory::ptr directory::open(std::string const &dirname)
catch (...) { return nullptr; }
if (!dir->open_impl(dirname))
return false;
return nullptr;
return ptr(std::move(dir));
}

View File

@ -43,7 +43,7 @@ static void get_vector(const char *data, int count, float *out, bool report_erro
//============================================================
shaders::shaders() :
d3dintf(nullptr), machine(nullptr), d3d(nullptr), post_fx_enable(false), oversampling_enable(false), paused(true), num_screens(0), curr_screen(0), lastidx(-1),
d3dintf(nullptr), machine(nullptr), d3d(nullptr), post_fx_enable(false), oversampling_enable(false), paused(true), num_screens(0), curr_screen(0),
shadow_texture(nullptr), options(nullptr), avi_output_file(nullptr), avi_frame(0), avi_copy_surface(nullptr), avi_copy_texture(nullptr), avi_final_target(nullptr), avi_final_texture(nullptr),
black_surface(nullptr), black_texture(nullptr), render_snap(false), snap_rendered(false), snap_copy_target(nullptr), snap_copy_texture(nullptr), snap_target(nullptr), snap_texture(nullptr),
snap_width(0), snap_height(0), lines_pending(false), initialized(false), backbuffer(nullptr), curr_effect(nullptr), default_effect(nullptr), prescale_effect(nullptr), post_effect(nullptr),

View File

@ -387,7 +387,6 @@ private:
bool paused; // whether or not rendering is currently paused
int num_screens; // number of emulated physical screens
int curr_screen; // current screen for render target operations
int lastidx; // index of the last-encountered target
bitmap_argb32 shadow_bitmap; // shadow mask bitmap for post-processing shader
texture_info * shadow_texture; // shadow mask texture for post-processing shader
hlsl_options * options; // current options